LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-28-2005, 10:54 AM   #1
king_dan
LQ Newbie
 
Registered: Feb 2005
Location: United Kingdom
Distribution: Debian Testing 2.6.8
Posts: 9

Rep: Reputation: 0
Angry Debian: fake package, destroyed everything?!


hey folks,

i recently made a fake package for libc6, as i had installed it manually. This meant that debian complained about dependency problems when installing anything that needed libc6, hence the fake package.

Anywho! using equivs i created a package for libc6 (i've pasted the file that i used to make it below), and built the debian package.

When i installed it, it came up with the following error messages:

---
/usr/src# dpkg -i libc6_2.3.2.ds1-21_i386.deb
(Reading database ... 85123 files and directories currently installed.)
Preparing to replace libc6 2.3.2.ds1-21 (using libc6_2.3.2.ds1-21_i386.deb) ...
Unpacking replacement libc6 ...
dpkg: warning - unable to delete old file `/sys': Device or resource busy
dpkg (subprocess): failed to exec rm for cleanup: No such file or directory
dpkg: error while cleaning up:
subprocess rm cleanup returned error exit status 2
Setting up libc6 (2.3.2.ds1-21) ...
---

and now the machine complains that every program i try to run doesn't exist. For example:

---
:/# ls
bash: /bin/ls: No such file or directory
---

i've checked it, and /bin/ls does exist! looks pretty normal... but won't work. The same applies to any number of programs i care to run (apt-get etc...)

My first thought was that $PATH had changed somehow.. but no... path is the same as normal :

---
/# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
---

Anywho could anyone explain why this dummy package has destroyed my system?

Here's the libc6-dummy package i tried to make with the equivs thingiemabob.

---
Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: libc6
Version: 2.3.2.ds1-21
Maintainer: Bob bob
Pre-Depends:
Depends:
Recommends:
Suggests:
Provides: libc6
Architecture: i386
Copyright:
Changelog:
Readme:
Extra-Files:
Description:
long description and info
.
second paragraph
---

any help in this would be excellent - i have just perfected my mythtv setup and will be rather cheesed off if i've destroyed it now!

Thanks!

Dan
 
Old 04-30-2005, 02:17 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
A guru like you creating fake debian package could be able to solve it :-). i would do a new installation. i remember messing up libc6 on debian few years ago and what i did was a new install.
 
Old 04-30-2005, 05:22 PM   #3
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Umm doesnt Debian already have the fake pakage for libc6 in its repository?
Maybe its just something that Kano did with kanotix.
 
Old 04-30-2005, 05:47 PM   #4
king_dan
LQ Newbie
 
Registered: Feb 2005
Location: United Kingdom
Distribution: Debian Testing 2.6.8
Posts: 9

Original Poster
Rep: Reputation: 0
lol thanks for the replies. Got bored of waiting with a dead box lol. Googled it for about 6 hours before giving up all hope, have now re installed it! and if i'm that much of a guru i wouldn't have messed it up in the first place i'm sure one day i'll look back on this and think 'ah, yes!' but alas today, i'll have to give up!

Anywho! thanks for the help

Dan
 
  


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
Best Debian Package. rvijay Debian 61 04-04-2006 09:23 PM
debian package mithereal Debian 7 09-12-2005 03:17 AM
Is there an Mplayer Package for debian? linx win Debian 8 04-11-2005 04:58 AM
propaganda-debian package 1madstork Debian 2 12-20-2004 03:53 PM
[Debian] Make is fake? zaltar Linux - Newbie 5 11-01-2003 10:29 AM

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

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