252 votes
Accepted

Failed to fetch jessie backports repository

Wheezy and Jessie were recently removed from the mirror network, so if you want to continue fetching Jessie backports, you need to use archive.debian.org instead: deb [check-valid-until=no] http://...
Stephen Kitt's user avatar
61 votes
Accepted

How does apt-get really work?

You need to take a look at https://wiki.debian.org/Packaging — the packaging tutorial there will help you a lot, as well as parts of the new maintainer's guide. As to your questions, in order: The ...
derobert's user avatar
  • 110k
57 votes
Accepted

Why are there pre-compiled packages in repositories?

It’s a trade-off: distributions which provide pre-built packages spend the time building them once (in all the configurations they support), and their users can then install them without spending the ...
Stephen Kitt's user avatar
55 votes

Failed to fetch jessie backports repository

After trying solutions suggested by @inostia and @Stephen Kitt I was still getting the following error: W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages ...
henadzit's user avatar
  • 651
53 votes

How to add a third-party repo. and key in Debian?

You must NEVER install any 3rd party key with apt-key add, as suggested in other posts, because it would cause the system to accept signatures from the third-party keyholder on all other repositories ...
Trudy's user avatar
  • 864
43 votes
Accepted

apt looking for i386 files, even though architecture is amd64

On Ubuntu amd64 installations, i386 is enabled as an additional architecture by default. apt & co. expect repositories to provide all configured architectures, which causes the error you're seeing....
Stephen Kitt's user avatar
43 votes
Accepted

How to use DNF to find out package versions available in a different release of Fedora?

You can pass dnf a --releasever= argument to override the version. For the particular command you gave as an example, use the following: dnf --releasever=29 --showduplicates list $pkgname
filbranden's user avatar
  • 21.8k
41 votes
Accepted

Are Debian APT packages not officially supported or acknowledged by application developers?

Packages in all distributions (not only Debian) are usually not packaged by the developers of the application, but by the members of the community of the distribution, usually called packagers or ...
Vojtech Trefny's user avatar
36 votes
Accepted

What is the difference between 'contrib' and 'non-free' packages repositories?

non-free packages are packages not complying to the Debian Free Software Guidelines definition. E.g.: nvidia-driver which provides a proprietary driver. contrib packages are packages that do comply ...
A.B's user avatar
  • 36.8k
31 votes
Accepted

What's the difference between pkg, pkg-bin and pkg-git on the AUR?

Normal packages are built from stable versions or stable git tags of a repository. The program is compiled in user's machine and then installed. This will take time. Packages with -bin suffix are ...
Biswapriyo's user avatar
30 votes

Are Debian APT packages not officially supported or acknowledged by application developers?

The main question is: "official" according to whom? Whether or not something is "official" depends very much on which "office" you are asking! The packages distributed by ...
Jörg W Mittag's user avatar
29 votes

Bypass GPG signature checks only for a single repository

To make sure that you see a warning while using an insecure repository, better use allow-insecure=yes instead like below deb [ allow-insecure=yes ] ...
Naresh Mehta's user avatar
27 votes
Accepted

Getting rid of "The following packages will be DOWNGRADED"

The basic answer is that you’re doing something that you shouldn’t, namely mixing repositories across releases (and distribution). Pulling in Debian packages in an Ubuntu-based distribution is a bad ...
Stephen Kitt's user avatar
26 votes

How do I enable CentOS Repositories on RHEL Red Hat?

Delete this centos.repo (or change enabled=0 for all) and Create a new repository centos1.repo in /etc/yum.repos.d/ with the content: [centos] name=CentOS-7 baseurl=http://ftp.heanet.ie/pub/centos/7/...
erTugRul's user avatar
  • 516
26 votes

Why are there pre-compiled packages in repositories?

You imply that all people have enough CPU/RAM/storage/time/knowledge to compile packages. Nope, not the case, the opposite is true, absolute most people don't want to wait e.g. hours to compile ...
Artem S. Tashkinov's user avatar
25 votes

How to fix GPG key retrieval failed: [Errno 14]?

If you trust the repo, you can simply edit the file /etc/yum.repos.d/mysql-community.repo and disable the gpgcheck [mysql57-community] name=MySQL 5.7 Community Server baseurl=http://repo.mysql.com/...
Adam Deng's user avatar
  • 351
22 votes
Accepted

Is it mostly safe to install any software from default repos? ( "yum install" "apt-get install" , etc)

Short answer Yes, it is 'mostly safe' to install any utility or software so long as you are using the default repositories that come with new installs of the OS. The default repositories contain ...
sudodus's user avatar
  • 6,431
20 votes

Why are there pre-compiled packages in repositories?

But why even bother to "keep/offer" pre-compiled packages, when you could just compile them yourself? What are the intentions of keeping/offering them? Simple economics. Compiling an entire ...
Jörg W Mittag's user avatar
19 votes
Accepted

Why can't I fetch the gcc-doc package on Debian?

Get gcc-doc package In order to be able to fetch this packages with the apt-get install command we need to edit our sources.list file to include both contrib and non-free repositories. For example, ...
Jenny T-Type's user avatar
18 votes

Remove yum repo using yum

You may be able to go into /etc/yum.repos.d/ and remove the file corresponding to the repository.
Dovev Hefetz's user avatar
18 votes

Yum: How can I view variables like $releasever, $basearch & $YUM0?

Just in case anybody ends up here, like me, looking for the equivalent answer for dnf on Fedora I fathomed out the following python one-liner: python3 -c 'import dnf, pprint; db = dnf.dnf.Base(); ...
sysadmiral's user avatar
  • 1,604
17 votes
Accepted

Why do I get "Warning: Repository 'oss_update' appears to be outdated. Consider using a different mirror or server."?

I found the answer from https://www.reddit.com/r/bashonubuntuonwindows/comments/8fcbs5/update_of_opensuse_on_wsl_error/ : you need to change the repository URIs from HTTP to HTTPS. I just did that and ...
BCran's user avatar
  • 286
17 votes
Accepted

What should I install to correct "ld: cannot find -lgbm and -linput" so that I can compile a Rust program?

What you are getting are error messages from the linker (ld), which is complaining that the libraries you are looking for are not available. A message such as /usr/bin/ld: cannot find -linput ...
filbranden's user avatar
  • 21.8k
17 votes

Is it mostly safe to install any software from default repos? ( "yum install" "apt-get install" , etc)

Packages from all major GNU/Linux distributions could be better compared to Windows Update. If you trust Microsoft not to release viruses through Windows Update, then you should trust your distributor ...
Vilinkameni's user avatar
17 votes

Getting rid of "The following packages will be DOWNGRADED"

Thank you Stephen Kitt To be clear, Stephen Kitt's answer is the selected one. However, as the OP I'm adding the specifics to resolving my particular issue (in case anyone else finds it interesting). ...
Lockszmith's user avatar
16 votes

How to temporarily disable and permanently disable repos in Debian based systems?

The easiest way I've found to manage repos is to have them in individual files in /etc/apt/sources.list.d/. That way, disabling the repo is as easy as moving the file from /etc/apt/sources.list.d/repo....
Chiraag's user avatar
  • 671
15 votes

How to fix GPG key retrieval failed: [Errno 14]?

You can also disable gpg check without editing repo file with this command : yum install --nogpgcheck your_package
Nanorex's user avatar
  • 153
15 votes
Accepted

How do display a list of packages a certain package provides for?

could be dnf repoquery --alldeps --whatrequires to get the reverse dependencies
Jaleks's user avatar
  • 2,579
14 votes

How to add a CentOS repo, having URL of Packages

Yum utils is a package which provides yum-config-manager. A quick and easy way to add a repo without the hassle writing a repo file and enabling is to use this as a sudo user yum-config-manager --...
garlicFrancium's user avatar
13 votes
Accepted

How to generate the `Release` file on a local package repository?

There are a number of ways of going about this; I use apt-ftparchive. Create an aptftp.conf file in the root of your repository: APT::FTPArchive::Release { Origin "Your origin"; Label "Your ...
Stephen Kitt's user avatar

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