Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Find the repository where a package is
-
- Posts: 111
- Joined: 2016-11-10 15:30
Find the repository where a package is
Hello all.
I'm installing packages on Debian8, and it complains about unmet dependencies (e.g. libsnmp15).
I guess this is because these dependencies aren't available in the repositories I have set in my sources.list. I know I can download the .deb file and install it with dpkg, but I'd like to do it via apt-get or aptitude.
For that to work, I suppose I need to add the repo where that concrete package is located.
The most I have accomplished is the following:
https://packages.debian.org/search?keywords=libsnmp15
But I can't find the corresponding repo. Only the download links.
¿any help?
Thanks!
Gracias!
I'm installing packages on Debian8, and it complains about unmet dependencies (e.g. libsnmp15).
I guess this is because these dependencies aren't available in the repositories I have set in my sources.list. I know I can download the .deb file and install it with dpkg, but I'd like to do it via apt-get or aptitude.
For that to work, I suppose I need to add the repo where that concrete package is located.
The most I have accomplished is the following:
https://packages.debian.org/search?keywords=libsnmp15
But I can't find the corresponding repo. Only the download links.
¿any help?
Thanks!
Gracias!
Re: Find the repository where a package is
I think really it would be good if we could see your sources list, that would be a good place to start. It seems that you're trying to install/update a Wheezy package which has no compatibility with Jessie.
Last edited by Lysander on 2017-08-04 13:53, edited 1 time in total.
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Find the repository where a package is
Sure:Lysander wrote:I think really it would be good if we could see your sources list, that would be a good place to start. It seems that you're trying to install a Wheezy package which has no compatibility with Jessie.
Code: Select all
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://ftp.debian.org/debian jessie-updates main
deb-src http://ftp.debian.org/debian jessie-updates main
deb http://deb.debian.org/debian jessie/updates main contrib non-free
deb-src http://deb.debian.org/debian jessie/updates main contrib non-free
deb http://deb.debian.org/debian jessie-updates main contrib non-free
deb-src http://deb.debian.org/debian jessie-updates main contrib non-free
deb http://deb.debian.org/debian jessie main contrib non-free
deb-src http://deb.debian.org/debian jessie main contrib non-free
deb http://deb.debian.org/debian/ oldstable main
deb-src http://deb.debian.org/debian/ oldstable main
deb http://deb.debian.org/debian/ oldstable-updates main
deb-src http://deb.debian.org/debian/ oldstable-updates main
deb http://deb.debian.org/debian-security oldstable-updates main
deb-src http://deb.debian.org/debian-security oldstable-updates main
deb http://ftp.de.debian.org/debian/ jessie main
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
Re: Find the repository where a package is
Your sources list is a good old strudel of various, well, sources. Some don't belong there and some aren't necessary. Have a read of this:
https://wiki.debian.org/SourcesList
Also
https://wiki.debian.org/DontBreakDebian
After having a read through these [maybe two or three times if you're like me], tidy up the list and post back or, if you feel confident enough, just run
https://wiki.debian.org/SourcesList
Also
https://wiki.debian.org/DontBreakDebian
After having a read through these [maybe two or three times if you're like me], tidy up the list and post back or, if you feel confident enough, just run
Code: Select all
sudo apt update
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Find the repository where a package is
I have wiped it out and now it's:
I will post the results.
Code: Select all
deb http://mirrors.kernel.org/debian/ jessie main contrib non-free
deb-src http://mirrors.kernel.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://mirrors.kernel.org/debian/ jessie-updates main contrib non-free
deb-src http://mirrors.kernel.org/debian/ jessie-updates main contrib non-free
deb http://mirrors.kernel.org/debian jessie-proposed-updates main contrib non-free
deb-src http://mirrors.kernel.org/debian jessie-proposed-updates main contrib non-free
deb http://mirrors.kernel.org/debian/ jessie-backports main contrib non-free
deb-src http://mirrors.kernel.org/debian/ jessie-backports main contrib non-free
Re: Find the repository where a package is
Looks much better. You probably don't need those sources starting with
unless you're a developer. They provide access to the source code and files of your applications. I would comment each one out with a # at the start.
Further info
https://unix.stackexchange.com/question ... urces-list
Please post the output of
now that your sources.list has been updated.
As a curiosity, and quite an important one I would think, how did your sources.list end up the way it did [i.e. with a Wheezy repo and a mix of Jessie/oldstable sources]?
Code: Select all
deb-src
Further info
https://unix.stackexchange.com/question ... urces-list
Please post the output of
Code: Select all
sudo apt update
As a curiosity, and quite an important one I would think, how did your sources.list end up the way it did [i.e. with a Wheezy repo and a mix of Jessie/oldstable sources]?
Last edited by Lysander on 2017-08-04 14:57, edited 1 time in total.
Re: Find the repository where a package is
Rather than search in a browser online, it's even quicker to query the Debian archive from a terminal with the command rmadison. For example:
Which shows it's unavailable after wheezy.
What you propose is possible following a procedure as detailed, for example, at debian-is-it-possible-safe-to-install-packages-from-an-older-version-of-the-rep. But I don't recommend it.
What's the solution? It might help if you stated what package requiring libsnmp15 it is that you wish to install.
Code: Select all
$ rmadison --architecture amd64 libsnmp15
libsnmp15 | 5.4.3~dfsg-2.8+deb7u1 | oldoldstable | amd64
What you propose is possible following a procedure as detailed, for example, at debian-is-it-possible-safe-to-install-packages-from-an-older-version-of-the-rep. But I don't recommend it.
What's the solution? It might help if you stated what package requiring libsnmp15 it is that you wish to install.
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Re: Find the repository where a package is
Except for the security repos, you also don't need repos for any sort of "updates" anymore. (Jessie is now "oldstable," and isn't going to get an update unless it's specifically security-related.)
Have another look at both of the Wiki pages Lysander pointed you to. Effective repo management requires some time to learn, but it is NOT hard. Mixing repos may seem like an easy thing to do, but it is at best incredibly risky, and can FUBAR your install. (More detail here)
Have another look at both of the Wiki pages Lysander pointed you to. Effective repo management requires some time to learn, but it is NOT hard. Mixing repos may seem like an easy thing to do, but it is at best incredibly risky, and can FUBAR your install. (More detail here)
Re: Find the repository where a package is
After reading his difficulties through a couple of threads I think that the OP, banderas20, has made a big mess and would be better off starting over with a fresh install of Stretch (Stable).
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Find the repository where a package is
@Lysander
I made a mix in sources.list by trying to find the packages that the system didn't find. I supposed that by adding more and more repos (even old ones), I would end up finding it.
Thanks for your comments!
@kedaha
I had no idea abou command. Thanks.
The package that requires libsnmp15 is the monitoring tool Zabbix 3.0.
@Bulkley
Yes, I made a mess XD. But as I stated, Stretch didn't event finish it's installation process on a Virtual Machine. I tried several times ani it stuck on different points without no reason.
Anyway, I will try it again...
Thanks everybody!!!
I made a mix in sources.list by trying to find the packages that the system didn't find. I supposed that by adding more and more repos (even old ones), I would end up finding it.
Thanks for your comments!
@kedaha
I had no idea abou command
Code: Select all
rmadison
The package that requires libsnmp15 is the monitoring tool Zabbix 3.0.
@Bulkley
Yes, I made a mess XD. But as I stated, Stretch didn't event finish it's installation process on a Virtual Machine. I tried several times ani it stuck on different points without no reason.
Anyway, I will try it again...
Thanks everybody!!!
Re: Find the repository where a package is
You can install Zabbix, which by the way I notice is issued under the GPL , as detailed at zabbix.com/documentation/3.2/manual/
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Re: Find the repository where a package is
OK, well I take it you know not to do that now, and why it's bad.banderas20 wrote:@Lysander
I made a mix in sources.list by trying to find the packages that the system didn't find. I supposed that by adding more and more repos (even old ones), I would end up finding it.
Thanks for your comments!
What is your output after apt update [try saying that after a few beers]?
Hmm, I can't quite believe there is no reason, as such.banderas20 wrote:I tried several times ani it stuck on different points without no reason.
Re: Find the repository where a package is
No. By adding more and more repos, what you end up doing is dramatically increasing the chances that you'll eventually break your system beyond repair.banderas20 wrote:I supposed that by adding more and more repos (even old ones), I would end up finding it.
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Find the repository where a package is
OK. I'll keep that in mind.dasein wrote:No. By adding more and more repos, what you end up doing is dramatically increasing the chances that you'll eventually break your system beyond repair.banderas20 wrote:I supposed that by adding more and more repos (even old ones), I would end up finding it.
Thanks a lot!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Find the repository where a package is
You do know that the various Zabbix packages are in the standard Jessie repo, though understandably those are getting old, but there are some newer versions in the jessie-backports repository?
https://packages.debian.org/search?keyw ... ection=all
https://packages.debian.org/search?keyw ... ection=all
MX Linux packager and developer
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Find the repository where a package is
I also baked some of the current release packages into a repo for some versions of Debian and Ubuntu:
https://build.opensuse.org/package/show ... bbix-agent
https://build.opensuse.org/package/show ... bbix-agent
MX Linux packager and developer