apt

updates to ubuntu 24.04

updates to ubuntu 24.04 When Ubuntu 24.04 comes out in about 2 days, there is probably going to be some important things that need fixing. Will the initial .iso file for the release be updated as needed to reflect such changes or, will it rely solely on "apt-get upgrade" for these initial corrections. Said another …

Total answers: 1

Check for non-interactive mode in Debian package maintainer scripts

Check for non-interactive mode in Debian package maintainer scripts If I’m writing a Debian package maintainer script (such as a pre-install script) for a package I create, how can I make the script determine if it is supposed to be running in non-interactive mode (e.g. if apt-get install was invoked with -y, and things like …

Total answers: 1

File removed from .deb package

File removed from .deb package I created a .deb file where I originally stored an F file. Then I installed this deb file and the F file is correctly in place under a D directory. Then I rebuilt the .deb file excluding the F file from its building. Now I would like to install this …

Total answers: 1

How can I find out with APT to which package a purely virtual package refers?

How can I find out with APT to which package a purely virtual package refers? How can I find out with APT to which package it refers? host# apt-get install xvnc4viewer Reading package lists… Done Building dependency tree… Done Reading state information… Done Package xvnc4viewer is not available, but is referred to by another package. …

Total answers: 1

Unable to install NVIDIA drivers with apt-get

Unable to install NVIDIA drivers with apt-get I am trying to install the recommended NVIDIA driver by the following command: sudo apt-get install nvidia-driver-550 But I keep getting the following error message: Get:1 file:/var/cuda-repo-ubuntu2204-12-4-local libnvidia-cfg1-550 550.54.15-0ubuntu1 [145 kB] Err:1 file:/var/cuda-repo-ubuntu2204-12-4-local libnvidia-cfg1-550 550.54.15-0ubuntu1 File not found – /var/cuda-repo-ubuntu2204-12-4-local/./libnvidia-cfg1-550_550.54.15-0ubuntu1_amd64.deb (2: No such file or directory) Get:2 file:/var/cuda-repo-ubuntu2204-12-4-local …

Total answers: 2

How to accept EULA unattended for SteamCMD under debian-variants?

How to accept EULA unattended for SteamCMD under debian-variants? I am trying to auto accept in an unattended manner, the STEAMCMD package EULA As per the following previous answer on this topic https://stackoverflow.com/questions/59097393/non-interactive-steam-install-on-linux-debian-how-to-auto-accept-eula How can I accept the Lience agreement for steam prior to apt-get install? script auto accepting EULA / license agreement How to …

Total answers: 1

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

apt-get update does not list the number of packages to be upgraded like apt When I run sudo apt update, at the end I receive the info: 10 packages can be upgraded. Run ‘apt list –upgradable’ to see them. With sudo apt-get update, I don’t receive that message. How do I add that text? Asked …

Total answers: 2

How do I install mysql-dev for server?

How do I install mysql-dev for server? I am working on a server plugin for MySQL v8.0 (as well as a legacy plugin for v5.7) and I need to install the correct header files. I’ve looked around the internet and all I can find is libmysqlclient-dev, which is for client dev. I need to install …

Total answers: 1

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

Debian backports: How do I list all available upgrades from bullseye-backports I’ve searched unsuccessfully for a method to list all of the upgrades available from Debian’s backports (specifically bullseye-backports): I’ve added deb http://deb.debian.org/debian bullseye-backports main contrib non-free to /etc/apt/sources.list. I’ve run sudo apt update successfully I’ve run sudo apt list –upgradeable bullseye-backports with an "empty" …

Total answers: 1

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

Shouldn't files in /etc/xdg/autostart/ be removed when removing a package? I came across the messages below with sudo journalctl –since today | tail -n 3000. Shouldn’t autostart entries be removed from there when removing a package? It seems like general good practice to remove autostart entries if the package has been removed (or to prompt …

Total answers: 1

how can I remove a dpkg installed repository?

how can I remove a dpkg installed repository? This error shows up on my sudo apt update: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.microsoft.com/repos/code stable InRelease: The following signatures couldn’t be verified because the public key is not …

Total answers: 3

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

How to upgrade only packages with Priority: required or Essential: yes on Debian systems? Priority and Essential information as shown in apt show section. Asked By: Sunil Kumar Das || Source 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 …

Total answers: 1

packages reinstall after xz-utils restore

packages reinstall after xz-utils restore how to fix my ubuntu from broken dependences issues everywhere after choas caused by xz-utils backdoor found few days ago. i am using noble development branch. After few updates days ago and lots of packages get stuck and cannot downgraded nor upgraded. Even i cannot see the kde login ui …

Total answers: 1

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

How to set up APT preferences in the presence of apt-cacher-ng? The problem is the following: there are a number of nodes that use apt-cacher-ng. The all apt URLs are in the form: deb http://192.168.1.2:3142/archive.ubuntu.com/ubuntu/ jammy-updates main restricted deb [arch=amd64] http://192.168.1.2:3142/HTTPS///packages.microsoft.com/ubuntu/22.04/prod jammy main deb http://192.168.1.2:3142/HTTPS///developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ / Now setting up APT preferences in the following form …

Total answers: 1

How do I install clang 18 on Ubuntu?

How do I install clang 18 on Ubuntu? software I need to use is requiring clang 18 to be installed on my computer: em++: warning: LLVM version for clang executable "/usr/bin/clang" appears incorrect (seeing "14.0", expected "18") [-Wversion-check] After little bit of searching I’ve learned I should use the command sudo apt install clang-18 Running …

Total answers: 1

Debian unstable repository and *t64 packages

Debian unstable repository and *t64 packages Why is Debian renaming some unstable packages from orig_name to orig_namet64? Some other questions: Where can I find the Official Policy for Debian Unstable? Where can I find out what is going on with the Debian user community as a whole? Recent renamings: $ dpkg -l "*t64" |head -n …

Total answers: 1

apt upgrade – connection reset by peer

apt upgrade – connection reset by peer Pretty fresh Jammy installation. No changes done in the setup whatsoever. I was able to apt update without problems. No proxy. No VPN. What I tried: two different WiFis waiting a week in case the problem was on server side adding fix-missing flag as suggested apt-get update -> …

Total answers: 1

ppa:mozillateam/ppa gone?

ppa:mozillateam/ppa gone? I am trying to install firefox in a arm64 Ubuntu 22.04 Docker container from the mozillateam ppa, but it seems not to be available anymore. I also could not find it searching it manually at https://launchpad.net/ubuntu/+ppas. Is the ppa really gone? root@efb6e2e122ee:/home# add-apt-repository -y ppa:mozillateam/ppa PPA publishes dbgsym, you may need to include …

Total answers: 1

What dependency solver does APT use?

What dependency solver does APT use? I noticed packages have version constraints in their metadata (e.g., git). What algorithm does APT use to satisfy these dependencies? E.g., Spack uses Clingo as its dependency solver, Conda and Mamba use libsolv, Pip uses its own custom backtracking solver. Asked By: charmoniumQ || Source APT pre-dates the idea …

Total answers: 1