LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-04-2006, 09:53 AM   #1
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Rep: Reputation: 15
apt pin problem


I'm a newbie so if I've missed something obvious please fogive me

I'm running Debian sarge and I wanted to install nasm. After doing an apt-get update I did apt-get install nasm. It tells me that I need to upgrade e2fsprogs, e2fslibs, libc6, etc. Everything looked ok so I just let it do it's thing. After a minute or so it comes back saying it needs to remove the current e2fsprogs or something, and that I need to enable the force-loopback option. I figured e2fs* in general is pretty important stuff so I need not fiddle around with that. Hence I tried to pin e2fslibs and e2fsprogs in /etc/apt/preferences

Package: e2fslibs
Pin: version 1.35*
Pin-Priority: 1000

Package: e2fsprogs
Pin: version 1.35*
Pin-Priority: 1000

Then I typed apt-get install nasm again, and now it thinks all packages are pinned!! It comes back saying nasm needs a newer version of libc6, and won't automaticaly install a newer version. Of course what I was really trying to achieve is having apt do everything it did before except install e2fs*. Anyone got any ideas how to do this? I must be missing something here...it seesm to me that this should be something easy.

I also did apt-get update and then tried apt-get install nasm again with no success.

Thanks for the help!! I'm frustrated
 
Old 02-04-2006, 10:08 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You will want to search either Google Groups or at lists.debian.org on the e2fsprogs and the force-loop to get the solution to letting it uninstall then install the newer version needed I have seen it posted a couple of times on the Debian User mailing list..
 
Old 02-04-2006, 01:43 PM   #3
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks happytux!

For a lack of better options I took a chance and enabled the force loopback option and luckily things worked out, but not without some obstacles, most notably my system wouldn't boot after because apt decided to remove an old kernel image and erased my grub config!

I was really lucky in that 1) I had a boot disk and 2) there was a vi swp file lying around, which served as my "backup". If it wasn't for the swp file, I'd have to google all over again just to find out how to write another grub config

I've learned to keep a real backup of important config files from now on.
 
Old 02-04-2006, 02:41 PM   #4
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 clergykid
Thanks happytux!

For a lack of better options I took a chance and enabled the force loopback option and luckily things worked out, but not without some obstacles, most notably my system wouldn't boot after because apt decided to remove an old kernel image and erased my grub config!

I was really lucky in that 1) I had a boot disk and 2) there was a vi swp file lying around, which served as my "backup". If it wasn't for the swp file, I'd have to google all over again just to find out how to write another grub config

I've learned to keep a real backup of important config files from now on.
Grub boot disk? If so then you could have went to the grub command prompt with c then used something like:
Code:
root (hdx,y)
setup
install (hdx)
quit
Replacing the x with the drive number and y with the partition number of the / of your install.
 
  


Reply



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
apt-get: how to pin kernel package Samsara Fedora 0 10-29-2004 06:04 PM
Bluetooth /etc/blutooth/pin file philipina Linux - Networking 1 08-03-2004 03:22 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
Installing USB Pin Drive bshelton Linux - General 14 09-11-2003 12:24 PM
72 Pin RAM Ques. weblion General 1 01-02-2002 07:10 PM

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

All times are GMT -5. The time now is 04:36 PM.

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