LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-02-2006, 06:38 PM   #1
hisnumber666
Member
 
Registered: Mar 2006
Distribution: Debian Sarge, Windows Server 2003
Posts: 66

Rep: Reputation: 15
how to make apt-get ignore errors or dependencies?


i have a long list of packages to fix and install. apt get will try to remove about 1200 packages from my system if i run it right now. synaptic will do the same.
currently i use dpkg to install the correct versions of packages but i have another 40 packages to go... its just plain not cool. meaning i have to manually download the packages from debian repository and then manually install it using dpkg. i would be so much nicer i could just make apt-get ignore dependecies and install the right packages (i have about 40 packages from testing repository currently on my system that i need to downgrade back to stable. apt-get and synaptic are counterproductive in this case).
 
Old 05-02-2006, 09:17 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Just thinking in print here. Suppose you edited your sources.list and commented out all lines refering to a testing repository, leaving only the stable repositories available to apt-get. Would you then be able to downgrade to stable packages?
 
Old 05-02-2006, 09:53 PM   #3
hisnumber666
Member
 
Registered: Mar 2006
Distribution: Debian Sarge, Windows Server 2003
Posts: 66

Original Poster
Rep: Reputation: 15
that was the first thing i did. the problem is that apt-get and synaptic first want to remove 1200 packages that depend on 40 broken packages, and only then update. of course, it will not get 1200 packages back.
i consider it a design flaw.
anyway unlike apt-get, i know what im doing so i just need a way to force it to do what i want it to do.
 
Old 05-03-2006, 07:37 PM   #4
hisnumber666
Member
 
Registered: Mar 2006
Distribution: Debian Sarge, Windows Server 2003
Posts: 66

Original Poster
Rep: Reputation: 15
just thought i explain it a little better... downgrading process involves removing and then installing packages. which in return involves temporarily breaking a dependency (for a few seconds). apt-get of course cant have that, so it just deletes you whole system to keep all dependencies met. i just need to fix some 40 packages and then i can have apt-get functioning like it should. ill try aptitude... but im pretty sure it uses apt-get to do everything...
is there a switch/option in apt-get that makes it ignore errors and dependecies?
 
Old 05-03-2006, 07:45 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
apt-get may have supercow powers but this is an extremely stubborn supercow indeed. I gave up and switched to Gentoo because I got tired fighting apt-get (after I found myself creating dummy packages to satisfy this supercow). On the other hand - apt-get is very convenient for maintaining a stable Debian system.
 
Old 05-03-2006, 08:01 PM   #6
hisnumber666
Member
 
Registered: Mar 2006
Distribution: Debian Sarge, Windows Server 2003
Posts: 66

Original Poster
Rep: Reputation: 15
perhaps it does have supercow powers... but its incredibly stupid.
i have no luck with aptidude either... its a little more clever than synaptic since it allows you to refuse to delete some package, but in return aptitude will refuse to actually APPLY any changes until all dependencies are met.

i would switch to gentoo this very minute... except im not ready for it quite yet. im only learning to fix compile errors and im not as patient as some other users unfortinately. i wanted linux to be less dependent and be in control. switching to gentoo will literrally bury me in forums, waiting for someones help. when my college semester is over, ill give it a shot at gentoo on another machine (i still need at least one fast working computer).

so i guess... ill just hafta manually fix it all with dpkg... ill fix one package every time i get on this computer. that way ill get it done by next week without boring myself to death.
 
  


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
Make ls ignore symlinks Creep Linux - Software 4 06-11-2020 09:36 PM
DPKG, please ignore dependencies... lectraplayer Debian 6 05-31-2007 10:56 AM
How to ignore a dependencie when apt-getting a soft ? Stéphane Ascoët Debian 1 10-23-2004 01:09 PM
How can I get make to ignore a particular error? SheldonPlankton Linux - Software 1 08-05-2004 02:44 PM
Which program help ignore rpm dependencies Mojojo Linux - Software 2 06-16-2003 05:56 AM

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

All times are GMT -5. The time now is 03:02 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