[SOLVED] apt: "108 packages can be upgraded".. How do I upgrade them?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
apt: "108 packages can be upgraded".. How do I upgrade them?
Code:
root@darkstar:~# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
108 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@darkstar:~# apt
Alright. 108 packages can be upgraded. How do I upgrade them? By hand, one by one? There must be a faster way. Is there?
By the way. I installed build-essential. But I look for binutils and don't find it. Is there a way to install all the development packages not contained in build-essetial?
I did 'apt install binutils' and it said "binutils is already the newest version". So I have the binutils package installed. I have a list of packages that are supposed to be installed on this machine and I want to check if they are in my system or not.
(a)
Is there a directory containing the names of all the packages installed up to present? For instance, in slackware, you have the /var/log/packages directory and the dir command executed with this as the current directory will list all the package names.
(b)
Code:
root@darkstar:/usr/local/bin# apt install bison
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libbison-dev libsigsegv2 m4
Suggested packages:
bison-doc m4-doc
The following NEW packages will be installed:
bison libbison-dev libsigsegv2 m4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,607 kB of archives.
After this operation, 3,239 kB of additional disk space will be used.
Do you want to continue? [Y/n]
The list of suggested packages can be much longer. How do I install all of them?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.