Where are the 50,000 packages?

Archived topics about LMDE 1 and LMDE 2
Locked
simplex

Where are the 50,000 packages?

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Where are the 50,000 packages?

Post 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

Code: Select all

sudo apt-get install scalpel
simplex

Re: Where are the 50,000 packages?

Post by simplex »

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

Re: Where are the 50,000 packages?

Post by Monsta »

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
simplex

Re: Where are the 50,000 packages?

Post 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:~# 
zerozero

Re: Where are the 50,000 packages?

Post 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)
simplex

Re: Where are the 50,000 packages?

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

Re: Where are the 50,000 packages?

Post 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.
mockturtl

Re: Where are the 50,000 packages?

Post 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.)
mockturtl

Re: Where are the 50,000 packages?

Post by mockturtl »

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...
simplex

Re: Where are the 50,000 packages?

Post 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.
zerozero

Re: Where are the 50,000 packages?

Post by zerozero »

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
simplex

Re: Where are the 50,000 packages?

Post 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
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Where are the 50,000 packages?

Post 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.
mockturtl

Re: Where are the 50,000 packages?

Post by mockturtl »

Just for a sanity check, can you successfully `apt-cache policy` any package?
kurotsugi

Re: Where are the 50,000 packages?

Post 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.
simplex

Re: Where are the 50,000 packages?

Post 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?
zerozero

Re: Where are the 50,000 packages?

Post 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"
Locked

Return to “LMDE Archive”