Page 1 of 1
Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 4:53 am
by simplex
Hello,
when I open the softwaremanager, it says that there are 2332 packages available. I did not change anything concerning the package sources/repositories.
I have read that Debian, on which LMDE is built, has 50,000 packages.
Now I wonder what I have to do to make these packages available.
For example, I need a package called "scalpel". It is in Ubuntu and Debian Stable, but not in LMDE. How can I install it?
Greetings,
S.
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 5:21 am
by Monsta
simplex wrote:For example, I need a package called "scalpel". It is in Ubuntu and Debian Stable, but not in LMDE.
This one?
http://packages.debian.org/wheezy/scalpel
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 7:15 am
by simplex
Yes, this one:
Code: Select all
root@nc10:~# LANG=C apt-get install scalpel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package scalpel
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 7:41 am
by Monsta
I see. Please post the output of these commands:
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 7:56 am
by simplex
Code: Select all
root@nc10:~# inxi -Sr
System: Host nc10 Kernel 3.2.0-4-486 i686 (32 bit) Distro Linux Mint Debian Edition
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import
deb http://lmde-mirror.gwendallebihan.net/latest testing main contrib non-free
deb http://lmde-mirror.gwendallebihan.net/latest/security testing/updates main contrib non-free
deb http://lmde-mirror.gwendallebihan.net/latest/multimedia testing main non-free
deb http://download.skype.com/linux/repos/debian/ stable non-free
Active apt sources in file: /etc/apt/sources.list.d/jd-team-jdownloader-debian.list
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu debian main
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu debian main
root@nc10:~# cat /etc/apt/preferences
Package: *
Pin: release o=linuxmint
Pin-Priority: 700
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700
Package: *
Pin: release o=Debian
Pin-Priority: 500
root@nc10:~# apt-cache policy scalpel
N: Paket scalpel kann nicht gefunden werden.
root@nc10:~# LANG=C apt-cache policy scalpel
N: Unable to locate package scalpel
root@nc10:~#
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 10:57 am
by zerozero
simplex
post the output of
Code: Select all
sudo apt-get update && sudo apt-get dist-upgrade
the package you are looking for is here >>
http://lmde-mirror.gwendallebihan.net/l ... s/scalpel/ (in the mirror you are using, it's strange apt can't find it)
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 11:29 am
by simplex
Hmm, maybe it has something to do with a package for the file downloading program "jDownloader". The developers instructed me to issue
Code: Select all
sudo add-apt-repository ppa:jd-team/jdownloader
and then to get the package with apt-get and apt-update, but it did not work. You can see the efect at the end of the output. I forgot about this and I do not know how to get rid of this repository.
Here is the desired output:
Code: Select all
root@nc10:~# LANG=C apt-get update && sudo apt-get dist-upgrade
Hit http://lmde-mirror.gwendallebihan.net testing InRelease
Ign http://ppa.launchpad.net debian InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/updates InRelease
Ign http://ppa.launchpad.net debian Release.gpg
Hit http://lmde-mirror.gwendallebihan.net testing InRelease
Ign http://ppa.launchpad.net debian Release
Ign http://download.skype.com stable InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages/DiffIndex
Ign http://packages.linuxmint.com debian InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/contrib i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Translation-en/DiffIndex
Get:1 http://packages.linuxmint.com debian Release.gpg [197 B]
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-en/DiffIndex
Ign http://download.skype.com stable Release.gpg
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-de/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-de_DE
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en/DiffIndex
Get:2 http://packages.linuxmint.com debian Release [15.6 kB]
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib i386 Packages
Ign http://download.skype.com stable Release
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free i386 Packages
Ign http://download.skype.com stable/non-free i386 Packages/DiffIndex
Get:3 http://packages.linuxmint.com debian/main i386 Packages [27.3 kB]
Err http://ppa.launchpad.net debian/main Sources
404 Not Found
Err http://ppa.launchpad.net debian/main i386 Packages
404 Not Found
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages
Ign http://ppa.launchpad.net debian/main Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages/DiffIndex
Ign http://ppa.launchpad.net debian/main Translation-de
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages/DiffIndex
Ign http://ppa.launchpad.net debian/main Translation-de_DE
Get:4 http://packages.linuxmint.com debian/upstream i386 Packages [5558 B]
Hit http://download.skype.com stable/non-free i386 Packages
Get:5 http://packages.linuxmint.com debian/import i386 Packages [62.8 kB]
Hit http://lmde-mirror.gwendallebihan.net testing/contrib i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-de
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages
Ign http://download.skype.com stable/non-free Translation-en
Ign http://download.skype.com stable/non-free Translation-de
Ign http://download.skype.com stable/non-free Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-de_DE
Ign http://packages.linuxmint.com debian/import Translation-en
Ign http://packages.linuxmint.com debian/import Translation-de
Ign http://packages.linuxmint.com debian/import Translation-de_DE
Ign http://packages.linuxmint.com debian/main Translation-en
Ign http://packages.linuxmint.com debian/main Translation-de
Ign http://packages.linuxmint.com debian/main Translation-de_DE
Ign http://packages.linuxmint.com debian/upstream Translation-en
Ign http://packages.linuxmint.com debian/upstream Translation-de
Ign http://packages.linuxmint.com debian/upstream Translation-de_DE
Fetched 111 kB in 13s (8417 B/s)
W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/debian/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/debian/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 12:09 pm
by Monsta
simplex wrote:Code: Select all
W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/debian/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/debian/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
No wonder it did not work - there's no section for debian in that PPA. In fact, I don't know any PPA which has one!
They are for Ubuntu, after all, and using them in Debian is not recommended.
simplex wrote:I forgot about this and I do not know how to get rid of this repository.
That's easy. The output of
inxi tells us the repo is registered in this file:
Code: Select all
/etc/apt/sources.list.d/jd-team-jdownloader-debian.list
So just delete it and perform apt-get update once again.
As for the main problem... well, I don't think jdownloader PPA has something to do with that (it contains a single package that seems to be unrelated). Your sources list and preferences file seem to be fine, I can't figure out why apt-get can't find that scalpel package...
But you surely can grab the package via http using the link that zerozero posted.
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 12:56 pm
by mockturtl
simplex wrote:root@nc10:~# LANG=C apt-cache policy scalpel
N: Unable to locate package scalpel
Network problem? But `apt-get update` works.
zerozero wrote:post the output of
Code: Select all
sudo apt-get update && sudo apt-get dist-upgrade
The 404 aborted the upgrade. Try it with a semicolon instead of `&&`, and post the output:
Code: Select all
sudo apt-get update; sudo apt-get dist-upgrade
Monsta wrote:In fact, I don't know any PPA which has one! They are for Ubuntu, after all, and using them in Debian is not recommended.
This is good advice. Ubuntu PPA's can ruin your Debian system in interesting ways.
(Strictly speaking, compiled java is platform-agnostic, but there could be other stuff in the package, or naming collisions between libraries. Ubuntu's repos aren't intended to overlap with Debian's.)
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 1:10 pm
by mockturtl
Possibly related: Jdownloader is nastyware.
If you ran as root a known malicious program whose source is not available...
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 1:24 pm
by simplex
mockturtl wrote:If you ran as root a known malicious program whose source is not available...
So I did... and here is the desired output:
Code: Select all
root@nc10:~# LANG=C apt-get update
Get:1 http://lmde-mirror.gwendallebihan.net testing InRelease [216 kB]
Ign http://download.skype.com stable InRelease
Ign http://packages.linuxmint.com debian InRelease
Ign http://download.skype.com stable Release.gpg
Ign http://download.skype.com stable Release
Get:2 http://lmde-mirror.gwendallebihan.net testing/updates InRelease [102 kB]
Ign http://download.skype.com stable/non-free i386 Packages/DiffIndex
Get:3 http://lmde-mirror.gwendallebihan.net testing InRelease [32.8 kB]
Hit http://download.skype.com stable/non-free i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages/DiffIndex
Get:4 http://packages.linuxmint.com debian Release.gpg [197 B]
Hit http://lmde-mirror.gwendallebihan.net testing/contrib i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Translation-en/DiffIndex
Get:5 http://packages.linuxmint.com debian Release [15.6 kB]
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-en/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-de/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-de_DE
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free i386 Packages
Ign http://download.skype.com stable/non-free Translation-en
Ign http://download.skype.com stable/non-free Translation-de
Ign http://download.skype.com stable/non-free Translation-de_DE
Get:6 http://packages.linuxmint.com debian/main i386 Packages [27.3 kB]
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/contrib i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-de
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en
Get:7 http://packages.linuxmint.com debian/upstream i386 Packages [5558 B]
Get:8 http://packages.linuxmint.com debian/import i386 Packages [62.8 kB]
Hit http://lmde-mirror.gwendallebihan.net testing/main i386 Packages
Hit http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-de_DE
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-de
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-de_DE
Ign http://packages.linuxmint.com debian/import Translation-en
Ign http://packages.linuxmint.com debian/import Translation-de
Ign http://packages.linuxmint.com debian/import Translation-de_DE
Ign http://packages.linuxmint.com debian/main Translation-en
Ign http://packages.linuxmint.com debian/main Translation-de
Ign http://packages.linuxmint.com debian/main Translation-de_DE
Ign http://packages.linuxmint.com debian/upstream Translation-en
Ign http://packages.linuxmint.com debian/upstream Translation-de
Ign http://packages.linuxmint.com debian/upstream Translation-de_DE
Fetched 461 kB in 16s (27.2 kB/s)
Reading package lists... Done
root@nc10:~# LANG=C apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 1:29 pm
by zerozero
simplex
let's try something different
run in the terminal
pick a different mirror (even if the speed is lower, just for this test and update and dist-upgrade again)
after that try
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 2:03 pm
by simplex
Done. I think I have the same mirror as before, and still
Code: Select all
root@nc10:~# LANG=C apt-cache policy scalpel
N: Unable to locate package scalpel
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 3:46 pm
by Monsta
simplex wrote:Done. I think I have the same mirror as before
You can check that by running
inxi -r
I'd follow what zerozero suggests (actually change to another mirror), just for testing.
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 4:03 pm
by mockturtl
Just for a sanity check, can you successfully `apt-cache policy` any package?
Re: Where are the 50,000 packages?
Posted: Mon Apr 08, 2013 5:15 pm
by kurotsugi
I got similar problem when running the 32bit version. it was working fine until I changed the mirror to an indonesian mirror. somehow apt refuse to download the package list from that mirror. if the other mirror didn't work, you might want to get your repository pointed on linuxmint official repository. now I'm running the 64bit version and everything seems fine.
Re: Where are the 50,000 packages?
Posted: Tue Apr 09, 2013 5:16 am
by simplex
Thank you all, the problem is solved.
As proposed, I picked a different mirror, updated, dist-upgraded, and the scalpel package is there.
Now the software manager shows more than 37,000 packages to be installable.
Again, thank you.
S.
BTW: Why do I have to do a dist-upgrade instead of a normal upgrade? Is this not dangerous?
Re: Where are the 50,000 packages?
Posted: Tue Apr 09, 2013 11:37 am
by zerozero
simplex wrote:BTW: Why do I have to do a dist-upgrade instead of a normal upgrade? Is this not dangerous?
as squeezy said "the best advice for lmde users"