Re: apt reinstall package broken?

2006-08-04 Thread Blake Barnett
On Aug 4, 2006, at 8:17 AM, Roberto Mello wrote: On Thu, Aug 03, 2006 at 04:07:23PM -0700, Blake Barnett wrote: Even these are overkill, unless configured otherwise APT defaults to caching all packages that are installed in /var/cache/apt/archive, That's an unreasonable assumption, unless

apt reinstall package broken?

2006-08-03 Thread Kenneth Burgener
I accidentally deleted the /etc/init.d/samba script. I thought I could get it back by removing samba and reinstalling, but apt did not regenerate this file. What am I doing wrong? First I did # apt-get remove samba samba-common # apt-get clean # apt-get install samba But the samba

Re: apt reinstall package broken?

2006-08-03 Thread Bart Whiteley
On Thu, Aug 03, 2006 at 03:28:55PM -0600, Kenneth Burgener wrote: I accidentally deleted the /etc/init.d/samba script. I thought I could get it back by removing samba and reinstalling, but apt did not regenerate this file. What am I doing wrong? First I did # apt-get remove samba

Re: apt reinstall package broken?

2006-08-03 Thread Kenneth Burgener
Kenneth Burgener wrote: First I did # apt-get remove samba samba-common # apt-get clean # apt-get install samba But the samba script did not get recreated. Which step am I missing? A little bit more experimentation resulted in: # apt-get --purge remove samba # apt-get

Re: apt reinstall package broken?

2006-08-03 Thread Roberto Mello
On Thu, Aug 03, 2006 at 03:28:55PM -0600, Kenneth Burgener wrote: I accidentally deleted the /etc/init.d/samba script. I thought I could get it back by removing samba and reinstalling, but apt did not regenerate this file. What am I doing wrong? First I did # apt-get remove samba

Re: apt reinstall package broken?

2006-08-03 Thread Kenneth Burgener
Roberto Mello wrote: Removing/reinstalling the package just to get one missing file is overkill. I can think of several possibly better options: 2) apt-get --reinstall install samba-common (Re-Install packages that are already installed and at the newest version) If there is a less

Re: apt reinstall package broken?

2006-08-03 Thread Blake Barnett
On Aug 3, 2006, at 2:55 PM, Roberto Mello wrote: On Thu, Aug 03, 2006 at 03:28:55PM -0600, Kenneth Burgener wrote: I accidentally deleted the /etc/init.d/samba script. I thought I could get it back by removing samba and reinstalling, but apt did not regenerate this file. What am I doing