Forum

Full Version: apt-get upgrade problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I tried to upgrade beta 1.1 to beta 2. I have done everything as it is stated on
http://forum.xbian.org/thread-1768.html
but I am getting the following error:

root@rpi:~# apt-get upgrade
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:
xbian-package-kernel : Depends: xbian-package-initramfs-tools (>= 1.0-2.3) but 1.0-0.8 is installed
xbian-package-splash : Depends: xbian-package-initramfs-tools (>= 1.0-1) but 1.0-0.8 is installed
E: Unmet dependencies. Try using -f.

What can I do now?

Regards.
@kriticar

what happens if you really use

Code:
sudo -i
apt-get clean
apt-get update
apt-get -f install

or manually in that particular case

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-initramfs-tools/xbian-package-initramfs-tools_1.3.1-5d_armhf.deb
wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-kernel/xbian-package-kernel_1.3-5.5_armhf.deb
wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-splash/xbian-package-splash_1.0-1.1_armhf.deb
dpkg -i *.deb

and trying to continue after these steps ?
BTW I am running into a similar issue and get -

Fetched 398 kB in 0s (619 kB/s)
dpkg: considering deconfiguration of xbian-package-initramfs-tools, which would be broken by installation of xbian-package-config-shell ...
dpkg: no, xbian-package-initramfs-tools is essential, will not deconfigure
it in order to enable installation of xbian-package-config-shell
dpkg: error processing /var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb (--unpack):
installing xbian-package-config-shell would break existing software
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xbian:~#

Any help?

I managed to update my other XBIAN install no problem...

Cheers,
(21st Nov, 2013 02:08 PM)mk01 Wrote: [ -> ]@kriticar

what happens if you really use

Code:
sudo -i
apt-get clean
apt-get update
apt-get -f install

pi@rpi:~$ sudo -i
root@rpi:~# apt-get clean
root@rpi:~# apt-get update
Get:1 http://archive.raspberrypi.org wheezy Release.gpg [490 B]
Get:2 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Get:3 http://xbian.brantje.com stable Release.gpg [490 B]
Get:4 http://archive.raspberrypi.org wheezy Release [7,224 B]
Get:5 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Get:6 http://xbian.brantje.com stable Release [910 B]
Get:7 http://archive.raspberrypi.org wheezy/main armhf Packages [11.7 kB]
Get:8 http://xbian.brantje.com stable/main armhf Packages [10.7 kB]
Get:9 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7,416 kB]
Ign http://xbian.brantje.com stable/main Translation-en_US
Ign http://xbian.brantje.com stable/main Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_US
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 7,462 kB in 1min 14s (99.9 kB/s)
Reading package lists... Done
root@rpi:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
xbian-package-kernel : Depends: xbian-package-initramfs-tools (>= 1.0-2.3) but 1.0-0.8 is installed
xbian-package-splash : Depends: xbian-package-initramfs-tools (>= 1.0-1) but 1.0-0.8 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies



(21st Nov, 2013 02:08 PM)mk01 Wrote: [ -> ]or manually in that particular case

Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-initramfs-tools/xbian-package-initramfs-tools_1.3.1-5d_armhf.deb
wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-kernel/xbian-package-kernel_1.3-5.5_armhf.deb
wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-splash/xbian-package-splash_1.0-1.1_armhf.deb
dpkg -i *.deb

and trying to continue after these steps ?

root@rpi:~# cd /tmp
root@rpi:/tmp# wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-initramfs-tools/xbian-package-initramfs-tools_1.3.1-5d_armhf.deb
--2013-11-22 08:04:01-- http://xbian.brantje.com/pool/stable/main/x/xbian-package-initramfs-tools/xbian-package-initramfs-tools_1.3.1-5d_armhf.deb
Resolving xbian.brantje.com (xbian.brantje.com)... 188.142.48.93
Connecting to xbian.brantje.com (xbian.brantje.com)|188.142.48.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14670 (14K) [application/octet-stream]
Saving to: `xbian-package-initramfs-tools_1.3.1-5d_armhf.deb'

100%[================================================================================​=============================>] 14,670 --.-K/s in 0.04s

2013-11-22 08:04:01 (375 KB/s) - `xbian-package-initramfs-tools_1.3.1-5d_armhf.deb' saved [14670/14670]

root@rpi:/tmp# wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-kernel/xbian-package-kernel_1.3-5.5_armhf.deb
--2013-11-22 08:04:17-- http://xbian.brantje.com/pool/stable/main/x/xbian-package-kernel/xbian-package-kernel_1.3-5.5_armhf.deb
Resolving xbian.brantje.com (xbian.brantje.com)... 188.142.48.93
Connecting to xbian.brantje.com (xbian.brantje.com)|188.142.48.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15217314 (15M) [application/octet-stream]
Saving to: `xbian-package-kernel_1.3-5.5_armhf.deb'

100%[================================================================================​=============================>] 15,217,314 648K/s in 23s

2013-11-22 08:04:40 (647 KB/s) - `xbian-package-kernel_1.3-5.5_armhf.deb' saved [15217314/15217314]

root@rpi:/tmp# wget http://xbian.brantje.com/pool/stable/main/x/xbian-package-splash/xbian-package-splash_1.0-1.1_armhf.deb
--2013-11-22 08:04:43-- http://xbian.brantje.com/pool/stable/main/x/xbian-package-splash/xbian-package-splash_1.0-1.1_armhf.deb
Resolving xbian.brantje.com (xbian.brantje.com)... 188.142.48.93
Connecting to xbian.brantje.com (xbian.brantje.com)|188.142.48.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 455704 (445K) [application/octet-stream]
Saving to: `xbian-package-splash_1.0-1.1_armhf.deb'

100%[================================================================================​=============================>] 455,704 626K/s in 0.7s

2013-11-22 08:04:44 (626 KB/s) - `xbian-package-splash_1.0-1.1_armhf.deb' saved [455704/455704]

root@rpi:/tmp# dpkg -i *.deb
dpkg: regarding xbian-package-initramfs-tools_1.3.1-5d_armhf.deb containing xbian-package-initramfs-tools:
xbian-package-initramfs-tools breaks xbian-update (<< 1.0.2-0)
xbian-update (version 1.0-1.2) is present and installed.

dpkg: error processing xbian-package-initramfs-tools_1.3.1-5d_armhf.deb (--install):
installing xbian-package-initramfs-tools would break xbian-update, and
deconfiguration is not permitted (--auto-deconfigure might help)
(Reading database ... 31269 files and directories currently installed.)
Preparing to replace xbian-package-kernel 1.3-5.5 (using xbian-package-kernel_1.3-5.5_armhf.deb) ...
mount: unknown filesystem type 'vfat'
CAN'T MOUNT BOOT
dpkg: error processing xbian-package-kernel_1.3-5.5_armhf.deb (--install):
subprocess new pre-installation script returned error exit status 1
Preparing to replace xbian-package-splash 1.0-1.1 (using xbian-package-splash_1.0-1.1_armhf.deb) ...
Unpacking replacement xbian-package-splash ...
Setting up xbian-package-splash (1.0-1.1) ...
Processing triggers for xbian-package-initramfs-tools ...
mount: unknown filesystem type 'vfat'
dpkg: error processing xbian-package-initramfs-tools (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
xbian-package-initramfs-tools_1.3.1-5d_armhf.deb
xbian-package-kernel_1.3-5.5_armhf.deb
xbian-package-initramfs-tools

This is what I got.

Regards.
(22nd Nov, 2013 07:08 AM)bazza88 Wrote: [ -> ]dpkg: considering deconfiguration of xbian-package-initramfs-tools, which would be broken by installation of xbian-package-config-shell ...
dpkg: no, xbian-package-initramfs-tools is essential, will not deconfigure
it in order to enable installation of xbian-package-config-shell
dpkg: error processing /var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb (--unpack):
installing xbian-package-config-shell would break existing software
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xbian:~#

@bazza88

what was the base install which you tried to upgrade ?
V 1, beta 1.1
(1st Dec, 2013 05:01 PM)kriticar Wrote: [ -> ]V 1, beta 1.1

Please, when you have a long text output use a pastebin or wrap it into [spoiler] or [code] tags as otherwise its hard to go through all the lines
(1st Dec, 2013 05:34 PM)rikardo1979 Wrote: [ -> ]
(1st Dec, 2013 05:01 PM)kriticar Wrote: [ -> ]V 1, beta 1.1

Please, when you have a long text output use a pastebin or wrap it into [spoiler] or [code] tags as otherwise its hard to go through all the lines

OK.
@kriticar

what is your actual situation with the topic - that I don't jump onto non-relevant situation?
(2nd Dec, 2013 06:16 AM)kriticar Wrote: [ -> ]
(1st Dec, 2013 05:34 PM)rikardo1979 Wrote: [ -> ]
(1st Dec, 2013 05:01 PM)kriticar Wrote: [ -> ]V 1, beta 1.1

Please, when you have a long text output use a pastebin or wrap it into [spoiler] or [code] tags as otherwise its hard to go through all the lines

OK.

thanks m8 Wink it makes it much easier for reading and helping
Reference URL's