Hot answers tagged

19

Change testing/updates to testing-security in your sources.list to match http://security-cdn.debian.org/debian-security/dists/testing-security/ Then run apt update instead of apt-get update to interactively accept the various changes.


10

You can use command-not-found itself: command-not-found --ignore-installed ls will tell you which package contains the ls command. (--ignore-installed avoids taking into account installed packages, and in particular ensures that the command isn’t run immediately if it’s already installed.) Alternatively, you can use apt-file: apt-file search bin/ls will ...


10

According to Debian Project News published 1st of July, Debian 10 "Buster" was scheduled to transition from testing to stable on 2019-07-06. It looks like the transition was in fact performed as scheduled, and so the testing distribution should now be catching up witn unstable, to eventually become Debian 11 "Bullseye". You might be experiencing some ...


8

From https://wiki.debian.org/Status/Testing deb http://security.debian.org testing-security main contrib non-free deb-src http://security.debian.org testing-security main contrib non-free The entries slightly changed after the latest release.


6

You should edit your /etc/apt/sources.list file so that it contains (only) deb http://archive.debian.org/debian wheezy main In particular, you should remove the stable line otherwise you’re liable to upgrade to Debian 10 inadvertently. You appear to have entries in /etc/apt/sources.list.d which might need cleaning up too. Since you’re using i386, you can ...


6

If you're upgrading from testing to buster, also be sure to run apt-get update --allow-releaseinfo-change If not, apt-get update won't let you update with Buster and will spit out messages like these: N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '' to '10.0' E: Repository 'http://deb.debian.org/...


4

Raspbian is a close derivative of Debian, so most of the informations at Debian usually also applies for Raspbian as long as they are not hardware/boot/install related. The wimtools package appeared in Debian unstable in 2016 after jessie was released in 2015. It is thus not available in jessie. Since except for backports and some exceptions a package ...


4

Run apt update and accept changes (type y each time when asked). It will made all required changes.


4

To get the installed packages list: dpkg --get-selections '*' > /tmp/selections.txt To re-download the installed packages on the machine with internet access: apt-get clean awk '$2=="hold" || $2 == "install" {print $1}' /tmp/selections.txt | xargs -r apt-get -d -y reinstall This will will download all the installed packages into /var/cache/apt/...


3

Yes, the command is command-not-found: $ command-not-found firefox The program 'firefox' is currently not installed. To run 'firefox' please ask your administrator to install the package 'firefox-esr' firefox: command not found This has exactly the same functionality, because it is what the shell traps run to produce that output automatically already. ...


3

The apt-get equivalents for the apk commands used in your snippet are as follows: apk add --no-cache curl: apt-get install -o APT::Keep-Downloaded-Packages=false curl apk del curl: apt-get purge curl apk add --no-cache py-pip: apt-get install -o APT::Keep-Downloaded-Packages=false python-pip (The last command assumes you’re after pip for Python 2; use ...


3

The gcc package is a metapackage which pulls in the appropriate compiler package; downgrading it won’t downgrade the compiler itself. You need to downgrade gcc-7, which is the appropriate compiler package in Ubuntu 18.04: sudo apt install gcc-7=7.3.0-16ubuntu3 and any required package.


3

The relationships between the two packages are as follows: cgroup-bin depends on cgroup-tools; cgroup-tools breaks and replaces older versions of cgroup-bin. The latter aren’t dependencies, but apt-cache rdepends takes them into consideration by default; to only see strict dependencies, you need to run apt-cache rdepends --no-recommends --no-suggests --no-...


2

You can probably install the package using the below: Make sure the repo sources are up to date sudo apt-get update To install the package. sudo apt-get install packagename Once the package determines that you have some missing dependencies, run the following command to fix broken or missing dependencies. sudo apt-get install -f Above command will ...


2

apt doesn’t use CONNECT for HTTP traffic because it doesn’t need to (and arguably, shouldn’t). It does use it for HTTPS traffic. CONNECT is used to establish a tunnel through a proxy; typical use cases are to tunnel TLS or SSH traffic through a proxy. It is not normally used for HTTP traffic. HTTP proxies are supposed to react in the same way as the hosts ...


2

Your VPS is a container on OpenVZ, running a kernel which you can’t upgrade (it’s not inside your VPS). You’ll have to ask your provider how to proceed, starting with whether Debian 10 is supported at all. See Why is my CentOS 7.4 on kernel 2.6.32?. apt-get doesn’t support rolling upgrades back. It might be possible to downgrade all the packages manually, ...


2

If you have screen or tmux already installed, you could use those to run apt-get in recoverable sessions. This will have two advantages: when you’re disconnected, you can reconnect and see what happened, and apt-get won’t be interrupted by the terminal suddenly going away. You should also be able to see everything that happened in /var/log/apt/term.log, ...


2

You can install syslinux with sudo apt-get install syslinux-common -y If you want to know what the other available packages of syslinux are you can search either by writing sudo apt-get install syslinux and hit TAB a few times or by typing sudo apt search syslinux.


1

The syslinux package is only available for amd64 and i386. The package wimtools provide the mkwinpeimg command: sudo apt install wimtools


1

Its a little bit confusing, but If you are tracking testing or the next-stable code name, you should always have a corresponding deb http://security.debian.org <"testing" or codename>-security main line in your /etc/apt/sources.list . See this FAQ-Item. https://www.debian.org/security/faq#testing: Q: How is security handled for testing? A: ...


1

To upgrade to testing you should disable the security updates. How to upgrade to Debian (next-stable) Testing To upgrade to testing from current stable, if you have already installed the stable release: 2.Remove or comment out your stable security updates line(s) (anything with security.debian.org in it).


1

Well, I can confirm that this works: DEBIAN_FRONTEND=noninteractive apt -y install linux-image-extra-virtual


1

The Docker repository does indeed have a Release file for Stretch, but your proxy is denying access to it: Received HTTP code 403 from proxy after CONNECT HTTP 403 is the “Forbidden” status, i.e. your client is not allowed, by the proxy, to access the target URL.


1

There's Linux, Linux, and Linux, but repositories are managed pretty much the same; they're an institution or big business with lots of fat pipes to the Intarwebz which mirror a master repository somewhere, so you can have a local repository close to you, and get Stuff faster. For example: Portland State University hosts repositories for several distros. (...


1

As the name suggests, it's not "stable". While the testing repository (currently Debian Buster) probably works without problems, I certainly wouldn't risk it. Or as the Debian guys say (DebianStable): The release of Debian called "stable" is always the official released version of Debian. Ordinary users should use this version. See also DebianStability. ...


Only top voted, non community-wiki answers of a minimum length are eligible