l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social Gathering
Next Installfest:
TBA
Latest News:
Nov. 18: Officers elected
Page last updated:
2003 May 04 10:20
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat (IRC)
 Social Networks
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] my computer has no name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] my computer has no name



begin Troy Arnold <troy-vox@zenux.net> 
> On Sat, May 03, 2003 at 11:40:43PM -0700, Peter Jay Salzman wrote:
> > troy,
> > 
> > thank you!  yes, hostname.sh must be it.   but now i'm totally confused:
> > 
> >    # The init script comes from sysvinit.
> >    satan# dpkg -S hostname.sh
> >    sysvinit: /etc/init.d/hostname.sh
> 
> [...]
> >    
> > shouldn't apt-get install --reinstall have installed this file?
> > according to dpkg, the file should be there:
> > 
> 
> It's in the initscripts package:
> [troy@Saiph ~]
> $ dpkg -S hostname.sh
> initscripts: /etc/init.d/hostname.sh
> 
> $ apt-file search hostname.sh
> 
> initscripts: etc/init.d/hostname.sh
> 
> 
> Now what is interesting, is that when i did an apt-file search the first
> time, the output showed something that seemed to indicate hostname.sh was
> part of sysvinit.  But when I unpacked the deb it wasn't there.  Then,
> after an 'apt-file update' I get results as above.  I don't know
> where/how these tools get their info -- I think I need to go read
> /usr/share/doc/apt

jumping jehosephat.  are you running woody?  my system looks a bit
different:

dpkg:

   p@satan$ dpkg -S hostname.sh
   sysvinit: /etc/init.d/hostname.sh

auto-apt:

   p@satan$ auto-apt search hostname.sh
   etc/init.d/hostname.sh  base/sysvinit

apt-file (didn't know about that, thanks!):

   satan# apt-file search hostname.sh
   sysvinit: etc/init.d/hostname.sh

and the package listing for sysvinit:

   p@satan$ dpkg -L sysvinit | grep hostname
   /etc/init.d/hostname.sh

all agree that hostname.sh should be in sysvinit.  in fact, there's no
package on my system named initscripts:

   satan# dpkg -l "initscr*"
   No packages found matching initscr*.

the package listing on the debian website shows hostname.sh to be in
sysvinit:

   http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=sysvinit&version=testing



but this is the bad behavior i'm seeing.  check this out:

### The file is there
$ ll /etc/init.d/hostname.sh 
-rwxr-xr-x   1 root   root   165 2003-05-03 23:42 /etc/init.d/hostname.sh*

### Move the file somewhere else
$ mv /etc/init.d/hostname.sh /etc/init.d/hostname.sh.orig 

### Reinstall the package
# apt-get install --reinstall sysvinit
(snip)
(Reading database ... 89019 files and directories currently installed.)
Preparing to replace sysvinit 2.84-3 (using
.../sysvinit_2.84-3_i386.deb) ...
(snip)

Unpacking replacement sysvinit ...
Setting up sysvinit (2.84-3) ...

### File hasn't been replaced!
$ ll /etc/init.d/hostname.sh
ls: /etc/init.d/hostname.sh: No such file or directory


i don't know what to say.  i doubt it's a bug in dpkg.  i'm kind of
stumped about it...

considering i want to reinstall all the packages on my system, it's not
really giving me a warm and fuzzy feeling...   :( :( :(   i would
**reall** like to know what's going on before reinstalling my packages.

> Glad you're close to being back in action.
 
please don't let me leave california without shaking your hand (and
putting one of my homebrews in it if that's the sort of thing you like)
and thanking you!   :)

pete

-- 
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
facebook
LUGOD Group on Facebook

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
VA Software
Who donated a computer, books and much more!