Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-27-2005, 11:21 AM
|
#1
|
Member
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89
Rep:
|
Can't install hpijs or cups
Why is this happening? I ran apt-get update but it still happens. Thanks
prison:/home/bill# apt-get install hpijs
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
hplip hpoj foomatic-filters-ppds foomatic-filters
The following NEW packages will be installed:
hpijs
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0B/216kB of archives.
After unpacking 696kB of additional disk space will be used.
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)'
in the drive '/cdrom/' and press enter
W: Couldn't stat source package list file: sarge/main Packages (/var/lib/apt/lis ts/_cdrom_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or direc tory)
Selecting previously deselected package hpijs.
(Reading database ... 93175 files and directories currently installed.)
Unpacking hpijs (from .../hpijs_2.1.2+0.9.2-2_i386.deb) ...
Setting up hpijs (2.1.2+0.9.2-2) ...
W: Couldn't stat source package list file: sarge/main Packages (/var/lib/apt/lis ts/_cdrom_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or direc tory)
W: You may want to run apt-get update to correct these problems
|
|
|
11-27-2005, 11:24 AM
|
#2
|
Member
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89
Original Poster
Rep:
|
Here's what happens when I try to install cups:
prison:/home/bill# apt-get install cups
Reading Package Lists... Done
Building Dependency Tree... Done
Package cups is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Couldn't stat source package list file: sarge/main Packages (/var/lib/apt/lists/_cdrom_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: sarge/main Packages (/var/lib/apt/lists/_cdrom_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package cups has no installation candidate
Any help. Thanks
|
|
|
11-27-2005, 11:32 AM
|
#3
|
Member
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537
Rep:
|
Quote:
Originally posted by foodhater
Here's what happens when I try to install cups:
prison:/home/bill# apt-get install cups
Reading Package Lists... Done
Building Dependency Tree... Done
Package cups is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Couldn't stat source package list file: sarge/main Packages (/var/lib/apt/lists/_cdrom_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: sarge/main Packages (/var/lib/apt/lists/_cdrom_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package cups has no installation candidate
Any help. Thanks
|
I would consider running "apt-get update". You probably have changed your apt sources list without updating.
Hope you learn to like food soon.
|
|
|
11-27-2005, 11:36 AM
|
#4
|
Member
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89
Original Poster
Rep:
|
Thanks for your response. I ran apt-get update again and then tried to install but this is what I get.
prison:/home/bill# apt-get install cups
Reading Package Lists... Done
Building Dependency Tree... Done
Package cups is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package cups has no installation candidate
Any help. Thanks.
|
|
|
11-27-2005, 11:44 AM
|
#5
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
There's no package called "cups" in sarge/stable (it's "cupsys").
You could try "aptitude --with-recommends install foomatic-bin". Too bad that they've removed the "foomatic-bin" package from testing & unstable, but in sarge/stable that command should install all the packages that are needed for printing with HP printers (including the hpijs driver).
|
|
|
11-27-2005, 11:55 AM
|
#6
|
Member
Registered: Jul 2004
Distribution: Vector 5.9
Posts: 89
Original Poster
Rep:
|
Thanks Dead Parrot. You were right. I got it installed. Thanks!!!
|
|
|
All times are GMT -5. The time now is 09:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|