LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2007, 04:48 PM   #1
John6000
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Debian package madness


Ive removed openoffice and adobe pdf reader and now i get the following problem, anyone got any ideas?
Code:
eeepc-john:/root> apt-get install xpdf
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  cupsys: Depends: poppler-utils or
                   xpdf-utils
  xpdf: Depends: xpdf-reader (= 3.01-9) but it is not going to be installed
        Depends: xpdf-utils (= 3.01-9)
        Depends: xpdf-common (= 3.01-9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
eeepc-john:/root> apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  poppler-utils
The following packages will be REMOVED:
  asus-ooo-writer
The following NEW packages will be installed:
  poppler-utils
0 upgraded, 1 newly installed, 1 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0B/80.7kB of archives.
After unpacking 61.1MB disk space will be freed.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  poppler-utils
Install these packages without verification [y/N]? y
(Reading database ... 68723 files and directories currently installed.)
Removing asus-ooo-writer ...
dpkg-divert: mismatch on divert-to
  when removing `diversion of /usr/share/applications/ooo-writer.desktop to /usr/share/applications/ooo-writer.desktop-orig by asus-ooo-writer'
  found `diversion of /usr/share/applications/ooo-writer.desktop to /usr/share/applications/ooo-writer.desktop.orig by asus-ooo-writer'
dpkg: error processing asus-ooo-writer (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
asus-ooo-writer
E: Sub-process /usr/bin/dpkg returned an error code (1)
eeepc-john:/root>
 
Old 12-17-2007, 05:21 PM   #2
freshmeadow
LQ Newbie
 
Registered: May 2006
Location: Guelph, Ontario, Canada
Distribution: OpenSUSE11.1 and Windows XP on desktop, OpenSuse 11.2 on Eee PC
Posts: 12

Rep: Reputation: 0
Debian dependencies

Instead of apt, try the aptitude utility. Type in your terminal "aptitude install xpdf", without the quotation marks. Aptitude resolves all dependencies for you. It is like a meta version of apt.
Note: if aptitude is not installed on your system, you can get it by using apt-get install aptitude.
Good luck.
 
Old 12-17-2007, 05:36 PM   #3
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
I gather you're using an eeePC. If you only have Asus' repositories in your sources.list file, that might be the problem. Wikipedia says you can just add a debian repo but this eeePC user forum[1] thread suggests xandros4 repos are better to use (in terms of compatibility).

If you're still running the OS that came with your eeePC, you might get better answers if you mention that sort of thing. It's not clear you are even running Debian here. The forum I linked to might be a good place to find eeePC-specific answers too.

[1] I haven't the foggiest if it's at all "official" or not, but it seems well-trafficked
 
Old 12-17-2007, 06:14 PM   #4
John6000
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lurko View Post
I gather you're using an eeePC. If you only have Asus' repositories in your sources.list file, that might be the problem. Wikipedia says you can just add a debian repo but this eeePC user forum[1] thread suggests xandros4 repos are better to use (in terms of compatibility).

If you're still running the OS that came with your eeePC, you might get better answers if you mention that sort of thing. It's not clear you are even running Debian here. The forum I linked to might be a good place to find eeePC-specific answers too.

[1] I haven't the foggiest if it's at all "official" or not, but it seems well-trafficked
I'm using the Xandros repo

I have asked on the EEE fourms but no replys for weeks so I asked here
 
Old 12-17-2007, 06:19 PM   #5
John6000
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
OK Aptlitude says:

Quote:
I wasn't able to locate the file for the asus-ooo-writer package. mean you need to manually fix this package
Looks like I'm gunna have to look in the .deb later.
 
Old 12-17-2007, 06:24 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You can always try dpkg --force-remove-reinstreq asus-ooo-writer to see if forcing it will work followed by a dpkg --configure -a to make sure there were no unconfigured packages left when the error occurred.
 
Old 12-18-2007, 03:17 AM   #7
John6000
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
home/user> sudo dpkg --force-remove-reinstreq asus-ooo-writer
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !
/home/user>

Last edited by John6000; 12-18-2007 at 03:18 AM.
 
Old 12-18-2007, 11:24 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by John6000 View Post
home/user> sudo dpkg --force-remove-reinstreq asus-ooo-writer
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !
/home/user>
Opps left out the remove part of it so dpkg -r --force-remove-reinstreq asus-ooo-writer or dpkg -P --force-remove-reinstreq asus-ooo-writer if you want the configuration files removed as well.
 
Old 12-19-2007, 09:35 AM   #9
freshmeadow
LQ Newbie
 
Registered: May 2006
Location: Guelph, Ontario, Canada
Distribution: OpenSUSE11.1 and Windows XP on desktop, OpenSuse 11.2 on Eee PC
Posts: 12

Rep: Reputation: 0
Sorry. Didn't realize you were using the ASUS EEE, thought you were in Debian Etch or Ubuntu or something similar with Debian repositories. If you can get aptitude to work at some point, though, it is a sweet package manager.
Cheers.
 
  


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
Best Debian Package. rvijay Debian 61 04-04-2006 09:23 PM
what is the debian package ztdep Linux - Software 3 01-05-2006 07:24 PM
debian package mithereal Debian 7 09-12-2005 03:17 AM
Debian package installation VertX Linux - Newbie 2 01-30-2005 12:15 PM
Removing package under Debian Amir21 Linux - Newbie 1 12-01-2004 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 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
Open Source Consulting | Domain Registration