You are not logged in.

#101 2015-10-15 21:47:42

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

sudo apt edit-sources

Nice!
smile


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#102 2015-10-15 22:40:11

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

@HoaS RE: Driving

^ WOW!  You had someone follow you with a camera?  devil

Nice driving!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#103 2015-10-16 07:47:19

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Completely Off Topic Chat

@Head_on_a_Stick:  It this anything other than an internal APT alias to $( [editor-of-choice] /etc/apt/sources.list )?


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#104 2015-10-16 12:06:39

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

^ it pops up nano with sources.list for me.   cool


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#105 2015-10-16 20:53:05

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Completely Off Topic Chat

^ Same here.  Man page says it also provides "basic sanity checks", whatever that means; for me, it just tells you to run 'apt-get update' if you saved any changes.  Seems odd to me that it doesn't say "run 'apt update'".


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#106 2015-10-17 11:15:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

I think it's similar to `visudo` in that it won't let you save the sources.list with errors in the file.

I really like apt(8), I've started using it instead of `apt-get`/`aptitude`


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#107 2015-10-17 11:41:30

dolly
Miss Mixunderstand
From: /lab1
Registered: 2015-10-03
Posts: 363

Re: Completely Off Topic Chat

Thanks for the "apt" link Head_on_a_Stick, interesting reading. smile


Keep BunsenLabs #!yish please.

Offline

#108 2015-10-17 12:00:56

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

^  hmmmm no conflicts with apt-get or aptitude?

Looks interesting ... better or just a personal preference?

I like how it lists things and "show" is nice too!

What about "recommends" ?

Last edited by Sector11 (2015-10-17 12:02:34)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#109 2015-10-17 12:12:42

ratcheer
Member
From: USA
Registered: 2015-10-05
Posts: 209

Re: Completely Off Topic Chat

Sector11 wrote:

^  hmmmm no conflicts with apt-get or aptitude?

IIRC, apt is not different under the hood from apt-get, it is just a new command interface. OTOH, aptitude is different, handling dependency resolution in its own way.

Tim

Offline

#110 2015-10-17 12:33:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

Sector11 wrote:

better or just a personal preference?

I haven't used it long enough to make a judgement about "better" but I find the UI preferable with all the useful options in one command.

From the man page:

The apt(8) commandline is designed as a end-user tool [...] The apt command is meant to be pleasant for end users

Sector11 wrote:

What about "recommends" ?

If no specific configuration file is specified (with "-c") then it uses /etc/apt/apt.conf so these options can be added to that file:

APT::Install-Recommends "0";
APT::Install-Suggests "0";

See apt.conf(5)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#111 2015-10-17 12:35:48

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

ratcheer wrote:

IIRC, apt is not different under the hood from apt-get, it is just a new command interface. OTOH, aptitude is different, handling dependency resolution in its own way.

Tim

I think apt(8) uses aptitude(8)'s dependency resolution model (ie, it favours "correct" solutions over "safe" solutions) as it has a "full-upgrade" command option.
wink


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#112 2015-10-17 13:16:31

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

@ Head_on_a_Stick

Yea, I read the apt man page in one terminal while trying some things in another terminal.

I have no '/etc/apt/apt.conf' however I have /etc/apt/apt.conf.d/90bunsen:

APT::Install-Recommends "true";
DPkg::Post-Invoke { "[ -x /usr/bin/bl-alternatives ] && /usr/bin/bl-alternatives update || true"; } ;

However my 'get' says no to recomments:

alias get='echo "sudo apt-get install --no-install-recommends" && sudo apt-get install --no-install-recommends'
alias getr='echo "sudo apt-get install" && sudo apt-get install'
alias sget='echo "alias sget = sudo apt-get install --no-install-recommends --simulate" && sudo apt-get install --no-install-recommends --simulate'
alias sgetr='echo "alias sget = sudo apt-get install --simulate" && sudo apt-get install --simulate'

I'll have to look around and see if 'get' can handle "--no-install-recommends" - if not create two custom config files - one for getting recommends and one without if I decide to go that way, or test.

What interesting is there is no:

       --no-install-recommends
           Do not consider recommended packages as a dependency for
           installing. Configuration Item: APT::Install-Recommends.

       --install-suggests
           Consider suggested packages as a dependency for installing.
           Configuration Item: APT::Install-Suggests.

for 'man apt'  like there is in 'man apt-get'

Tis, OK, it's a learning curve.

@ HoaS and ratcheer

I was under the impression that apt-get and aptitude have started doing things the same and using the same database.  What's the scoop on that?


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#113 2015-10-17 16:03:00

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

Sector11 wrote:

I was under the impression that apt-get and aptitude have started doing things the same and using the same database.  What's the scoop on that?

Both `apt-get update` and `aptitude update` now operate on the same database (I think they used to have separate ones) but the dependency resolution method is very different if there are any conflicts.

Supposedly, aptitude(8) offers an "enhanced" dependency resolution algorithm that will offer the user several choices whereas apt-get(8) just goes ahead and does what it thinks is best.

More on the differences here:
https://www.debian.org/doc/manuals/debi … de_literal


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#114 2015-10-17 16:20:34

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

^ Thanks a lot for that link!

Interesting how:

  • aptitude show foo

  • apt-cache show foo

  • apt show foo

show 'slightly' different info. Same with 'search'.

I really must research this more.  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#115 2015-10-17 17:13:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

It's just so friendly:

empty@jessie ~ % sudo apt update
[sudo] password for empty: 
Hit http://security.debian.org jessie/updates InRelease
[...]
1 package can be upgraded. Run 'apt list --upgradable' to see it.
empty@jessie ~ % apt list --upgradable   
Listing... Done
linux-image-amd64/jessie-backports 4.2+68~bpo8+2 amd64 [upgradable from: 4.1+67~bpo8+1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
empty@jessie ~ % apt list --upgradable -a
Listing... Done
linux-image-amd64/jessie-backports 4.2+68~bpo8+2 amd64 [upgradable from: 4.1+67~bpo8+1]
linux-image-amd64/now 4.1+67~bpo8+1 amd64 [installed,upgradable to: 4.2+68~bpo8+2]
linux-image-amd64/stable 3.16+63 amd64

All with pretty colours and a l33t progress bar for the upgrade itself -- lovely!
smile

https://lists.debian.org/debian-devel/2 … 00013.html


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#116 2015-10-17 18:01:49

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

Yea I noticed the cool progress bar earlier when I tried it vs apt-get

Now if I could only reconfigure the colours.... don't like the green.

Have you ever looked at wajig?
I {cough cough} looked at that a few years back  smile

    $ apt search wajig
Sorting... Done
Full Text Search... Done
wajig/stable 2.17 all
  unified package management front-end for Debian

Just installed to show you:

 17 Oct 15 | 14:55:38 ~
    $ wajig commands
addcdrom           Add a Debian CD/DVD to APT's list of available sources
addrepo            Add a Launchpad PPA (Personal Package Archive) repository
aptlog             Display APT log file
autoalts           Mark the Alternative to be auto-set (using set priorities)
autoclean          Remove no-longer-downloadable .deb files from the download cache
autodownload       Do an update followed by a download of all updated packages
autoremove         Remove unused dependency packages
build              Get source packages, unpack them, and build binary packages from them.
builddeps          Install build-dependencies for given packages
changelog          Display Debian changelog of a package
clean              Remove all deb files from the download cache
contents           List the contents of a package file (.deb)
dailyupgrade       Perform an update then a dist-upgrade
dependents         Display packages which have some form of dependency on the given package
describe           Display one-line descriptions for the given packages
describenew        Display one-line descriptions of newly-available packages
distupgrade        Comprehensive system upgrade
download           Download one or more packages without installing them
editsources        Edit list of Debian repository locations for packages
extract            Extract the files from a package file to a directory
fixconfigure       Fix an interrupted install
fixinstall         Fix an install interrupted by broken dependencies
fixmissing         Fix and install even though there are missing dependencies
force              Install packages and ignore file overwrites and depends
hold               Place packages on hold (so they will not be upgraded)
info               List the information contained in a package file
init               Initialise or reset wajig archive files
install            Package installer
installsuggested   Install a package and its Suggests dependencies
integrity          Check the integrity of installed packages (through checksums)
large              List size of all large (>10MB) installed packages
lastupdate         Identify when an update was last performed
listall            List one line descriptions for all packages
listalternatives   List the objects that can have alternatives configured
listcache          List the contents of the download cache
listcommands       Display all wajig commands
listdaemons        List the daemons that wajig can start, stop, restart, or reload
listfiles          List the files that are supplied by the named package
listhold           List packages that are on hold (i.e. those that won't be upgraded)
listinstalled      List installed packages
listlog            Display wajig log file
listnames          List all known packages; optionally filter the list with a pattern
listpackages       List the status, version, and description of installed packages
listscripts        List the control scripts of the package of deb file
listsection        List packages that belong to a specific section
listsections       List all available sections
liststatus         Same as list but only prints first two columns, not truncated
localupgrade       Upgrade using only packages that are already downloaded
madison            Runs the madison command of apt-cache
move               Move packages in the download cache to a local Debian mirror
new                Display newly-available packages
newdetail          Display detailed descriptions of newly-available packages
news               Display the NEWS file of a given package
nonfree            List packages that don't meet the Debian Free Software Guidelines
orphans            List libraries not required by any installed package 
policy             From preferences file show priorities/policy (available)
purge              Remove one or more packages and their configuration files
purgeorphans       Purge orphaned libraries (not required by installed packages)
purgeremoved       Purge all packages marked as deinstall
rbuilddeps         Display the packages which build-depend on the given package
readme             Display the README file(s) of a given package
recdownload        Download a package and all its dependencies
recommended        Display packages installed as Recommends and have no dependents
reconfigure        Reconfigure package
reinstall          Reinstall the given packages
reload             Reload system daemons (see LIST-DAEMONS for available daemons)
remove             Remove packages (see also PURGE command)
removeorphans      Remove orphaned libraries
repackage          Generate a .deb file from an installed package
reportbug          Report a bug in a package using Debian BTS (Bug Tracking System)
restart            Restart system daemons (see LIST-DAEMONS for available daemons)
rpm2deb            Convert an .rpm file to a Debian .deb file
rpminstall         Install an .rpm package file
search             Search for package names containing the given pattern
searchapt          Find nearby Debian package repositories
show               Provide a detailed description of package
sizes              Display installed sizes of given packages
snapshot           Generates a list of package=version for all installed packages
source             Retrieve and unpack sources for the named packages
start              Start system daemons (see LIST-DAEMONS for available daemons)
status             Show the version and available versions of packages
statusmatch        Show the version and available versions of matching packages
stop               Stop system daemons (see LISTDAEMONS for available daemons)
tasksel            Run the task selector to install groups of packages
todo               Display the TODO file of a given package
toupgrade          List versions of upgradable packages
tutorial           Display wajig tutorial
unhold             Remove listed packages from hold so they are again upgradeable
unofficial         Search for an unofficial Debian package at apt-get.org
update             Update the list of new and updated packages
updatealternatives Update default alternative for things like x-window-manager
updatepciids       Updates the local list of PCI ids from the internet master list
updateusbids       Updates the local list of USB ids from the internet master list
upgrade            Conservative system upgrade
upgradesecurity    Do a security upgrade
verify             Check package's md5sum
versions           List version and distribution of given packages
whichpackage       Search for files matching a given pattern within packages
 
 17 Oct 15 | 14:56:01 ~
    $ 

and 'wajig doc' gives you a pretty good "HowTo"


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#117 2015-10-17 18:06:35

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Completely Off Topic Chat

Sector11 wrote:
addrepo            Add a Launchpad PPA (Personal Package Archive) repository

yikes


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#118 2015-10-17 18:17:46

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

HEY!  I asked if you'd seen it? ... I didn't recommend it.  big_smile

As a matter of fact I think I was using Xubuntu at the time I last looked at it.

It's gone now  big_smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#119 2015-10-17 20:13:33

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,129
Website

Re: Completely Off Topic Chat

Go The All Blacks!!


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#120 2015-10-17 20:31:22

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,247

Re: Completely Off Topic Chat

GO PUMAS!  devil


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#121 2015-10-17 20:55:06

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,129
Website

Re: Completely Off Topic Chat

Wdq1fai.png

That's wht I call a hiding.


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#122 2015-10-18 05:22:42

damo
....moderator....
Registered: 2015-08-20
Posts: 4,744

Re: Completely Off Topic Chat

Allez Les Bleus!  devil


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#123 2015-10-19 16:40:06

pa$$word
Member
Registered: 2015-10-02
Posts: 111

Re: Completely Off Topic Chat

Sacre bleu ! Sapristi ! Par Toutatis !

Offline

#124 2015-10-19 20:34:59

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Completely Off Topic Chat

Jings, crivens, help ma boab!


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#125 2015-10-20 20:02:00

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Completely Off Topic Chat

OK, so one of the things that happened when I was away from the CrunchBang forums for a while was my bike was stolen from my employer's parking lot.  Where I usually park it, with a cable around a tree, I found instead an empty clamshell for a pair of tin snips.  Assuming 2+2=4, the thief probably didn't pay for the snips either.

Anyway, I bought two cheap bikes to replace the one that was stolen (so that if one gets stolen again I'll at least have a backup), and now park the one I ride inside the store in the employee training room.  The other bike has a small hop in the rear wheel; through a patient process of loosing all the spokes, finding the high points in the rim, tightening those spokes first, and repeating the process until the spokes have fairly uniform tension, I was able to get rid of most of the hop, but reservations about it led me to find this thread:
http://www.bikeforums.net/bicycle-mecha … uable.html


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

Board footer

Powered by FluxBB