You are not logged in.
sudo apt edit-sources
Nice!
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
@HoaS RE: Driving
^ WOW! You had someone follow you with a camera?
Nice driving!
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
@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
^ it pops up nano with sources.list for me.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
^ 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
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.
Offline
Thanks for the "apt" link Head_on_a_Stick, interesting reading.
Keep BunsenLabs #!yish please.
Offline
^ 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)
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
^ 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
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
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.
Offline
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.
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
@ 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?
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
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.
Offline
^ 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.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
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!
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
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
$ 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"
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
addrepo Add a Launchpad PPA (Personal Package Archive) repository
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
HEY! I asked if you'd seen it? ... I didn't recommend it.
As a matter of fact I think I was using Xubuntu at the time I last looked at it.
It's gone now
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
Go The All Blacks!!
One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/
Dobbie's Suckless
Offline
GO PUMAS!
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/
Dobbie's Suckless
Offline
Allez Les Bleus!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Online
Sacre bleu ! Sapristi ! Par Toutatis !
Offline
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
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