LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-01-2005, 11:56 PM   #1
eurest
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
removing half installed package


Hi,

I was trying to install acroread using apt-get but half-way through downloading the package, there was a problem connecting to the mirror where I was fetching the package. In fact, the site from which I am downloading the package is rather unstable, so I decided to switch to a different source. However, when i try to install the same program again with a different source, i get the error:

Package acroread 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 acroread has no installation candidate

I tried to remove the package using dpkg -r but it gives me an error:
dpkg - warning: ignoring request to remove acroread which isn't installed.

So, what is the correct way of removing a package or a half-installed package?
 
Old 08-02-2005, 12:34 AM   #2
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
The new mirror you switched to doesn't provide the acroread package....most likely due to legal reasons.
 
Old 08-02-2005, 12:51 AM   #3
ewt3y
Member
 
Registered: May 2005
Location: hanoi vietnam
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
Let me give you the way, I looked for a apt-get tutorial what I retain are:
--apt-get can only handles .deb packages
--it is recommended to reconfigure the /etc/apt/sources.list before installing acroread
you nned to add repository that is suitable for you. Then run: apt-get update to sync your database with Debian's one.
==apt-get install acroread
--there are 3 packages trees: Sarge, Eich and Sid
 
Old 08-02-2005, 02:10 AM   #4
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
to fix broken packages type :

apt-get -f install

if you want to remove acroread then type :

apt-get remove acroread
 
Old 08-02-2005, 03:37 AM   #5
eurest
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Yeah,

I think linux-rulz is right. The mirror doesn't provide the acroread package. But I was just wondering. Where does all this .deb package gets downloaded to? How can I view and delete them?
 
Old 08-02-2005, 06:05 AM   #6
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
they are stored in /var/cache/apt/archives/ and /var/cache/apt/archives/partial/

and you could either delete them or type : apt-get clean
 
Old 08-02-2005, 07:46 AM   #7
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
Quote:
Originally posted by eurest
Yeah,

I think linux-rulz is right. The mirror doesn't provide the acroread package. But I was just wondering. Where does all this .deb package gets downloaded to? How can I view and delete them?
you can get acroread from this source:

Code:
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
add this line to your /etc/apt/sources.list

apt-get update
apt-get install acroread

It should work fine... BTW from what I see you hadn't installed acroread at all. It is in data base because ot was mentioned by some other packages...

Anyway when you do not have something in official repositories try to seach at

www.apt-get.org
 
Old 08-02-2005, 09:09 AM   #8
eurest
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
thanks everyone for your advice. I did as was told and now I have acroread loaded just fine.
 
Old 08-03-2005, 09:31 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
FWIW, if you don't really need the repository for acroread (or any other one time install like opera); it is probably easier to use dpkg:[list=1][*]D/L the the .deb to the dir of your choice.[*](poss. optional) su to root.[*](recommended) cd to <dir>.[*]Run 'dpkg -i <package>.deb'[*](if nec.) Fix your menus.[*]Stash, cache, or trash the .deb (Sorry, couldn't resist the alliteration.) [/list=1]Don't ask me what the easy way to fix the menus is, I haven't learned it yet. Perhaps someone would be so kind as to post...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 02:15 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Wine half installed Fredstar Mandriva 5 02-09-2005 05:20 PM
Removing Installed package on Linux. ashisht LinuxQuestions.org Member Intro 3 11-04-2004 02:26 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration