Where are the 50,000 packages?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Where are the 50,000 packages?

Postby simplex on Mon Apr 08, 2013 4:53 am

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.
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Linux Mint is funded by ads and donations.
 

Re: Where are the 50,000 packages?

Postby Monsta on Mon Apr 08, 2013 5:21 am

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

Code: Select all
sudo apt-get install scalpel
Monsta
Level 9
Level 9
 
Posts: 2513
Joined: Fri Aug 19, 2011 3:46 am

Re: Where are the 50,000 packages?

Postby simplex on Mon Apr 08, 2013 7:15 am

Yes, this one: :lol:

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
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Re: Where are the 50,000 packages?

Postby Monsta on Mon Apr 08, 2013 7:41 am

I see. Please post the output of these commands:

Code: Select all
inxi -Sr
Code: Select all
cat /etc/apt/preferences
Code: Select all
apt-cache policy scalpel
Monsta
Level 9
Level 9
 
Posts: 2513
Joined: Fri Aug 19, 2011 3:46 am

Re: Where are the 50,000 packages?

Postby simplex on Mon Apr 08, 2013 7:56 am

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:~#
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Re: Where are the 50,000 packages?

Postby zerozero on Mon Apr 08, 2013 10:57 am

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)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Where are the 50,000 packages?

Postby simplex on Mon Apr 08, 2013 11:29 am

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.
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Re: Where are the 50,000 packages?

Postby Monsta on Mon Apr 08, 2013 12:09 pm

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.
Monsta
Level 9
Level 9
 
Posts: 2513
Joined: Fri Aug 19, 2011 3:46 am

Re: Where are the 50,000 packages?

Postby mockturtl on Mon Apr 08, 2013 12:56 pm

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.)
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 442
Joined: Sat Oct 09, 2010 8:51 pm

Re: Where are the 50,000 packages?

Postby mockturtl on Mon Apr 08, 2013 1:10 pm

Possibly related: Jdownloader is nastyware.

http://en.wikipedia.org/wiki/JDownloader

Since mid-2012, there have been multiple complaints that JDownloader's installer installs adware without the user's consent.

^ "JD Community – ADWARE/Adware.Gen bundled with install" (in English). 2012-06-30. Retrieved 2013-02-25.
^ "JD Community – Goodbye JDownloader" (in English). 2012-09-13. Retrieved 2013-02-25.
^ "JD Community – Jdownloader installer contains Adware" (in English). 2012-12-23. Retrieved 2013-02-25.
If you ran as root a known malicious program whose source is not available...
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 442
Joined: Sat Oct 09, 2010 8:51 pm

Re: Where are the 50,000 packages?

Postby simplex on Mon Apr 08, 2013 1:24 pm

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.
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Re: Where are the 50,000 packages?

Postby zerozero on Mon Apr 08, 2013 1:29 pm

simplex
let's try something different
run in the terminal
Code: Select all
mint-choose-debian-mirror
pick a different mirror (even if the speed is lower, just for this test and update and dist-upgrade again)

after that try
Code: Select all
apt-cache policy scalpel
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Where are the 50,000 packages?

Postby simplex on Mon Apr 08, 2013 2:03 pm

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
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Re: Where are the 50,000 packages?

Postby Monsta on Mon Apr 08, 2013 3:46 pm

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.
Monsta
Level 9
Level 9
 
Posts: 2513
Joined: Fri Aug 19, 2011 3:46 am

Re: Where are the 50,000 packages?

Postby mockturtl on Mon Apr 08, 2013 4:03 pm

Just for a sanity check, can you successfully `apt-cache policy` any package?
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 442
Joined: Sat Oct 09, 2010 8:51 pm

Re: Where are the 50,000 packages?

Postby kurotsugi on Mon Apr 08, 2013 5:15 pm

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.
kurotsugi
Level 6
Level 6
 
Posts: 1035
Joined: Fri Jan 25, 2013 3:54 am

Re: Where are the 50,000 packages?

Postby simplex on Tue Apr 09, 2013 5:16 am

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?
simplex
Level 2
Level 2
 
Posts: 97
Joined: Sat Oct 06, 2012 2:32 pm

Re: Where are the 50,000 packages?

Postby zerozero on Tue Apr 09, 2013 11:37 am

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"
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 5 guests