Topic: [SOLVED] Error upgrading crunchbang-configs from 0.0.2 to 0.0.4

I'll start off by saying this is almost definitely my fault. I'm still trying to get the hang of setting up my sources.list file correctly. That being said, I get the following error when trying to upgrade:

ioos@crunchy:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  crunchbang-configs
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/37.3 kB of archives.
After this operation, 41.0 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 148501 files and directories currently installed.)
Preparing to replace crunchbang-configs 0.0.2 (using .../crunchbang-configs_0.0.4_all.deb) ...
Unpacking replacement crunchbang-configs ...
dpkg: error processing /var/cache/apt/archives/crunchbang-configs_0.0.4_all.deb (--unpack):
 trying to overwrite '/etc/skel/.profile', which is also in package bash 4.1-3
configured to not write apport reports
                                      Errors were encountered while processing:
 /var/cache/apt/archives/crunchbang-configs_0.0.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

It looks like both crunchbang-configs and bash need the file /etc/skel/.profile, right? But I'm not really sure how to resolve it...

Thanks!

Last edited by ioos (2010-12-07 04:04:56)

Re: [SOLVED] Error upgrading crunchbang-configs from 0.0.2 to 0.0.4

Make a backup of "/etc/skel/.profile", then remove it and try upgrading again.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [SOLVED] Error upgrading crunchbang-configs from 0.0.2 to 0.0.4

ioos wrote:

It looks like both crunchbang-configs and bash need the file /etc/skel/.profile, right? But I'm not really sure how to resolve it...

Oops, sorry, this was my fault. I have updated the package and removed the '.profile' file. The 0.0.5 package should now install okay. Thank you for reporting this. smile

Re: [SOLVED] Error upgrading crunchbang-configs from 0.0.2 to 0.0.4

Thank you sir. I updated to the new new package. It works!

Re: [SOLVED] Error upgrading crunchbang-configs from 0.0.2 to 0.0.4

Good stuff. Thank you for reporting back and marking as SOLVED. smile