New answers tagged

0 votes

apt-get update does not list the number of packages to be upgraded like apt

While on the surface, apt and apt-get seem very similar, they are not, although likely apt calls apt-get underneath. The apt command was created specifically to add user facing features (exactly like ...
user10489's user avatar
  • 6,775
1 vote
Accepted

apt-get update does not list the number of packages to be upgraded like apt

There is no way to get that exact message with apt-get. The closest that you get with apt-get is something similar with the following command: apt-get --simulate upgrade | grep "upgraded.*newly ...
Nasir Riley's user avatar
  • 11.4k
3 votes
Accepted

Debian backports: How do I list all available upgrades from bullseye-backports

aptitude can list all upgradeable packages, including candidates from backports: aptitude -t bullseye-backports search '~U' If you want to see only upgrades from backports, add an archive filter: ...
Stephen Kitt's user avatar
1 vote

Why do some repositories configured in /etc/apt/sources.list.d/ not have a signed-by= set? - Is that a problem?

There are four points to consider. Regarding signed-by (documented in man 5 sources.list, its purpose is to ensure that packages shipped by a given repository are signed by a key in a specific ...
Stephen Kitt's user avatar
1 vote
Accepted

Shouldn't files in /etc/xdg/autostart/ be removed when removing a package?

These files are treated as configuration files, and are only removed on package purge, not package removal. apt list '~c' will list packages which have been removed but not purged (including ...
Stephen Kitt's user avatar
2 votes
Accepted

How to upgrade only packages with Priority: required or Essential: yes on Debian systems?

With apt 1.9.9 and later (available since Debian 11): sudo apt install --only-upgrade ~prequired ~E will upgrade required and essential packages (and any necessary dependencies, based on version ...
Stephen Kitt's user avatar
0 votes
Accepted

How do I comment out package names kept in a text file for mass installing?

If you would want to escape the handling of plain text file packages.txt, I developed the sysdep tool just for this exact purpose. It is a simple tool that reads from a toml file instead of a plain ...
Benjamin Tan's user avatar
2 votes

E: The repository 'http://archive.debian.org/debian bookworm Release' does not have a Release file. among other errors

Debian 12 (“Bookworm”) is currently supported and therefore hosted on the main mirror network, not the archive. You need to replace the archive.debian.org entries with deb.debian.org in /etc/apt/...
Stephen Kitt's user avatar
1 vote

I cannot Install Brave under on Debian 10

EDIT this might have been a temporary hickup, check whether it's working now. If you use any special HTTP proxies, do check they work. It seems you set up the repository according to Brave's ...
Marcus Müller's user avatar
0 votes

GPG broken after debian 10 -> 11 upgrade

As you discovered, the error is caused by one of these libraries: libreadline.so.8 => /usr/local/lib/libreadline.so.8 (0x00007fc36eb79000) libassuan.so.0 => /usr/local/lib/...
Stephen Kitt's user avatar
0 votes

Using a file to install packages with apt-get

I know this thread has been quite awhile, but recently I just wrote a tool, sysdep, just for this exact purpose. It is a simple tool that reads from a toml file instead of a plain text file. ...
Benjamin Tan's user avatar
0 votes

Stop apt-get from trying to download translations from specific repositories

Add [lang=none] to your repository's entry in /etc/apt/sources.list or the file for it in /etc/apt/sources.list.d. For example, the repository: deb http://deb.debian.org/debian buster main contrib ...
Compholio's user avatar
  • 186
4 votes
Accepted

Signatures becomes invalid for apt

As a general rule, EXPKEYSIG errors mean that the corresponding key needs to be updated (or replaced with a new one). In some cases that must be done manually (see Invalid signature for Kali Linux ...
Stephen Kitt's user avatar
0 votes

Signatures becomes invalid for apt

Firstly, be sure you have the right package installed by running apt-get update && apt-get install ca-certificates. Then, if it's not fixed, the issue comes from the expiration of the ...
Elikill58's user avatar
  • 123
-1 votes

Is there a command that outputs ONLY the packages explicitly installed by the user? (ubuntu/debian)

The OP seems to want a list of: "packages (ideally in Ubuntu) that I have [he has] installed". I read both of the answers here, and neither one came very close to giving me an answer to that ...
Seamus's user avatar
  • 2,949
1 vote
Accepted

How to set up APT preferences in the presence of apt-cacher-ng?

Instead of pinning by server address, you can pin using information contained in each repository. In particular, you can use the “Origin” field in each repository’s Release file: Pin: release o=Ubuntu ...
Stephen Kitt's user avatar
2 votes
Accepted

Help interpreting "Commandline: packagekit role='update-packages'"

The command line indicates that this was a package upgrade initiated by PackageKit. This could be through a software management UI or possibly automatic upgrades. If you want to keep a specific ...
Stephen Kitt's user avatar
5 votes
Accepted

Debian unstable repository and *t64 packages

The t64 suffix means the software in question is modified to use 64-bit time_t, so it will be ready for January 19, 2038, when the 32-bit version of time_t will overflow (the Y2K38 problem). More ...
telcoM's user avatar
  • 96.9k
1 vote

How do I bypass "This operation is not permitted because it will break the system. Abort." on Pop!_OS?

For other OS than Pop!_OS, you can use Synaptic to remove essential package. It's a GUI based package manager. The apt blocks you to do that. Install synaptic. sudo apt install synaptic Run ...
Don Alfons's user avatar
1 vote
Accepted

apt: change default answer from 'Y' to 'N'

Poking in the sources: if (YnPrompt(_("Do you want to continue?")) == false) various places rely on the function YnPrompt() for this: // YnPrompt - Yes No Prompt. ...
A.B's user avatar
  • 36.6k

Top 50 recent answers are included