Problem installing everything!
I installed remastersys, but accidentally grabbed a lower version.
So I removed it with "apt-get purge remastersys".
Now, to install any package, it says that I need casper. But installing casper produces the following error: "Sub-process /usr/bin/dpkg returned an error code (1)"
I have followed all of the steps included here: https:/
Here is the terminal output...
draygoes@Vocs:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
draygoes@Vocs:~$ uname -a
Linux Vocs 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux
draygoes@Vocs:~$ sudo cp /var/lib/
[sudo] password for draygoes:
draygoes@Vocs:~$ sudo cp /var/lib/
draygoes@Vocs:~$ sudo rm -rf /var/lib/
draygoes@Vocs:~$ sudo rm -rf /var/lib/apt/lists
draygoes@Vocs:~$ sudo mkdir /var/lib/apt/lists
draygoes@Vocs:~$ sudo mkdir /var/lib/
draygoes@Vocs:~$ sudo rm /var/cache/
draygoes@Vocs:~$ LANG=C;sudo apt-get clean
draygoes@Vocs:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
draygoes@Vocs:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
remastersys: Depends: casper but it is not installable
E: Unmet dependencies. Try using -f.
draygoes@Vocs:~$ LANG=C;sudo apt-get update
Get:1 http://
Get:2 http://
Ign http://
Ign http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Ign http://
Ign http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Fetched 11.5MB in 15s (742kB/s)
Reading package lists... Done
draygoes@Vocs:~$ sudo dpkg --clear-avail
draygoes@Vocs:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of remastersys:
remastersys depends on casper; however:
Package casper is not installed.
dpkg: error processing remastersys (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
remastersys
draygoes@Vocs:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
live-initramfs hwdata busybox
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
casper
The following NEW packages will be installed:
casper
0 upgraded, 1 newly installed, 0 to remove and 299 not upgraded.
1 not fully installed or removed.
Need to get 70.2kB of archives.
After this operation, 406kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 70.2kB in 0s (81.3kB/s)
(Reading database ... 122756 files and directories currently installed.)
Unpacking casper (from .../archives/
dpkg: error processing /var/cache/
trying to overwrite '/usr/share/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
draygoes@Vocs:~$ LANG=C;sudo apt-get update && sudo apt-get dist-upgrade
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
remastersys: Depends: casper but it is not installed
E: Unmet dependencies. Try using -f.
draygoes@Vocs:~$ sudo apt-get install casper
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
live-initramfs hwdata busybox
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
casper
0 upgraded, 1 newly installed, 0 to remove and 299 not upgraded.
1 not fully installed or removed.
Need to get 0B/70.2kB of archives.
After this operation, 406kB of additional disk space will be used.
(Reading database ... 122756 files and directories currently installed.)
Unpacking casper (from .../archives/
dpkg: error processing /var/cache/
trying to overwrite '/usr/share/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
draygoes@Vocs:~$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply: