New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Software update do not work,

Got problems with your B2 or B3? Share and get helped!
agkbill
Posts: 27
Joined: 15 Jan 2010, 13:44

Software update do not work,

Post by agkbill »

Software version 2.0.4.1


Current package versions give no information, it only say "Retreiving package information..."

If I try to update system I get
"Error: parsererror

syslog say:
Jan 13 18:50:21 bubba bubba-networkmanager: Starting up
Jan 13 18:50:21 bubba Bubba::Hotfix[6703]: 0, Server starting
Jan 13 18:50:23 bubba php5-cgi: {"stop":0,"statusMessage":"Checking for hotfixes","done":0}
Jan 13 18:50:28 bubba last message repeated 3 times
Jan 13 18:50:29 bubba Bubba::Hotfix[6707]: 2, Status: No hotfixes available, proceeding with upgrade.
Jan 13 18:50:29 bubba php5-cgi: {"data":{"scripts":[],"status":0,"files":[]},"done":1,"stop":0,"statusMessage":"No hotfixes available, proceeding with upgrade."}
Jan 13 18:50:57 bubba ypbind[2413]: broadcast: RPC: Timed out.
Jan 13 18:51:21 bubba bubba-networkmanager: Server timed out, terminating
Jan 13 18:51:21 bubba bubba-networkmanager: Daemon terminating
Jan 13 18:51:21 bubba bubba-networkmanager: Shutting down
Jan 13 18:51:21 bubba Bubba::Hotfix[6707]: 0, Timeout: Bubba::Hotfix server terminating

19:54:08
13
Thursday
January
2011


Is there anything I can do or do I need to do a total reinstalation of everything to get it up and running again?

Tank you,

Best regards,
/Christer
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Software update do not work,

Post by Ubi »

can you still get into the command shell or is the unit dead?
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Software update do not work,

Post by Binkem »

Have you tried updating manually?

Using SSH log in

then get Root access:

su
(password is: excito)

apt-get update
apt-get dist-upgrade

this might work.

Martijn
agkbill
Posts: 27
Joined: 15 Jan 2010, 13:44

Re: Software update do not work,

Post by agkbill »

Yes I can SSH to the unit, no problem.

Most things are working fine except the photo album that do not work at all.

I have also tried the manual update.

I get:
christer@bubba:~$ su
Password:
bubba:/home/christer# apt-get update
Get:1 http://update.excito.org marielle Release.gpg [189B]
Get:2 http://update.excito.org upstream_etch Release.gpg [189B]
Get:3 http://update.excito.org claire Release.gpg [189B]
Get:4 http://update.excito.org upstream_etch_forclaire Release.gpg [189B]
Hit http://update.excito.org marielle Release
Hit http://update.excito.org upstream_etch Release
Hit http://update.excito.org claire Release
Hit http://update.excito.org upstream_etch_forclaire Release
Ign http://update.excito.org marielle/main Packages/DiffIndex
Hit http://update.excito.org marielle/main Sources/DiffIndex
Hit http://update.excito.org marielle/main Packages
Hit http://update.excito.org marielle/main Sources
Ign http://update.excito.org upstream_etch/main Packages/DiffIndex
Hit http://update.excito.org upstream_etch/main Packages
Ign http://update.excito.org claire/main Packages/DiffIndex
Hit http://update.excito.org claire/main Sources/DiffIndex
Hit http://update.excito.org claire/main Packages
Hit http://update.excito.org claire/main Sources
Ign http://update.excito.org upstream_etch_forclaire/main Packages/DiffIndex
Hit http://update.excito.org upstream_etch_forclaire/main Sources/DiffIndex
Hit http://update.excito.org upstream_etch_forclaire/main Packages
Hit http://update.excito.org upstream_etch_forclaire/main Sources
Get:5 http://archive.debian.org etch Release.gpg [1033B]
Hit http://archive.debian.org etch Release
Ign http://archive.debian.org etch/main Packages/DiffIndex
Ign http://archive.debian.org etch/contrib Packages/DiffIndex
Ign http://archive.debian.org etch/non-free Packages/DiffIndex
Hit http://archive.debian.org etch/main Packages
Hit http://archive.debian.org etch/contrib Packages
Hit http://archive.debian.org etch/non-free Packages
Fetched 5B in 1s (3B/s)
Reading package lists... Done
bubba:/home/christer# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages have been kept back:
bubba-apt epeg libepeg0 libeutils1 libpoe-xs-queue-array-perl
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
bubba:/home/christer#

any ideas?


Best regards,
/Christer
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Software update do not work,

Post by Cheeseboy »

Hi Christer,

I don't think I ever had to do this on the bubbas, but when I get those "kept back" messages from apt-get on Ubuntu, I normally get around them by:

Code: Select all

# aptitude safe-upgrade
Please be careful, I have not experienced your problem, I don't know what caused it, and I don't know what extra packages aptitude might decide to install when you execute that command.
You will get a summary of what it will do, and a chance to cancel it.

Best regards,

Cheeseboy
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Software update do not work,

Post by RandomUsername »

The kept back messages usually implies you need to do a dist-upgrade. I.e. aptitude dist-upgrade. This may result in extra packages being installed or deprecated packages being removed.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Software update do not work,

Post by Cheeseboy »

He did
# apt-get dist-upgrade
But aptitude seems better at resolving problems...
I would start with safe-upgrade.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Software update do not work,

Post by RandomUsername »

Cheeseboy wrote:He did
# apt-get dist-upgrade
But aptitude seems better at resolving problems...
I would start with safe-upgrade.
That'll teach me to read the whole thread. :oops:
agkbill
Posts: 27
Joined: 15 Jan 2010, 13:44

Re: Software update do not work,

Post by agkbill »

Thank you for sugestions.

No luck so far.

Code: Select all

aptitude safe-upgrade
did not work so I tried

Code: Select all

aptitude safe-upgrade
bubba:/home/christer# aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
bubba-apt epeg libepeg0 libeutils1 libpoe-xs-queue-array-perl
5 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 225kB of archives. After unpacking 287kB will be freed.
The following packages have unmet dependencies:
libeutils1: Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is installed.
Depends: libgcc1 (>= 1:4.2.1) but 1:4.1.1-21 is installed.
Depends: libpopt0 (>= 1.16) but 1.10-3 is installed.
Depends: libstdc++6 (>= 4.4.0) but 4.1.1-21 is installed.
libepeg0: Depends: libc6 (>= 2.7) but 2.3.6.ds1-13etch10 is installed.
epeg: Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is installed.
bubba-apt: Depends: libapt-pkg-libc6.9-6-4.8 which is a virtual package.
Depends: libstdc++6 (>= 4.4.0) but 4.1.1-21 is installed.
libpoe-xs-queue-array-perl: Depends: perl (>= 5.10.1-13) but 5.8.8-7etch6 is installed.
Depends: perlapi-5.10.1 which is a virtual package.
Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
libpoe-xs-queue-array-perl
squeezecenter

Keep the following packages at their current version:
bubba-apt [0.0.4 (stable, now)]
epeg [0.9.1.042-1 (stable, now)]
libepeg0 [0.9.1.042-1 (stable, now)]
libeutils1 [0.7.32 (stable, now)]

Score is -852

Accept this solution? [Y/n/q/?] Y
The following packages will be automatically REMOVED:
libpoe-xs-queue-array-perl squeezecenter
The following packages have been kept back:
bubba-apt epeg libepeg0 libeutils1
The following packages will be REMOVED:
libpoe-xs-queue-array-perl squeezecenter
0 packages upgraded, 0 newly installed, 2 to remove and 4 not upgraded.
Need to get 0B of archives. After unpacking 21.3MB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 33456 files and directories currently installed.)
Removing squeezecenter ...
dbconfig-common: dumping mysql database squeezecenter to /var/tmp/squeezecenter.squeezecenter.2011-01-14-23.02.mysql.y10883.
dbconfig-common: dropping mysql database squeezecenter.
dropping database squeezecenter: success.
verifying database squeezecenter was dropped: success.
dbconfig-common: revoking privileges for user squeezecenter on squeezecenter.
revoking access to database squeezecenter from squeezecenter@localhost: success.
Removing libpoe-xs-queue-array-perl ...
bubba:/home/christer# aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
bubba-apt epeg libepeg0 libeutils1
4 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 202kB of archives. After unpacking 283kB will be freed.
The following packages have unmet dependencies:
libeutils1: Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is installed.
Depends: libgcc1 (>= 1:4.2.1) but 1:4.1.1-21 is installed.
Depends: libpopt0 (>= 1.16) but 1.10-3 is installed.
Depends: libstdc++6 (>= 4.4.0) but 4.1.1-21 is installed.
libepeg0: Depends: libc6 (>= 2.7) but 2.3.6.ds1-13etch10 is installed.
epeg: Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch10 is installed.
bubba-apt: Depends: libapt-pkg-libc6.9-6-4.8 which is a virtual package.
Depends: libstdc++6 (>= 4.4.0) but 4.1.1-21 is installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
bubba
bubba-apt
bubba-backend
bubba-frontend

Keep the following packages at their current version:
epeg [0.9.1.042-1 (stable, now)]
libepeg0 [0.9.1.042-1 (stable, now)]
libeutils1 [0.7.32 (stable, now)]

Score is -1514

Accept this solution? [Y/n/q/?] n
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
bubba
bubba-album
bubba-backend
bubba-frontend
epeg

Keep the following packages at their current version:
bubba-apt [0.0.4 (stable, now)]
libepeg0 [0.9.1.042-1 (stable, now)]
libeutils1 [0.7.32 (stable, now)]

Score is -1865

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

Second time I tried it looked like bubba frontend and backend together with outer things was to be removed.
Looks very wrong.


This looks tricky.


/Christer
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Software update do not work,

Post by Cheeseboy »

Sorry,

No idea.
My suggestion would be to contact excito by email.
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: Software update do not work,

Post by ryz »

You should not use aptitude on Bubba use apt-get instead.

Aptitude smartens can often remove way to much as you noticed.

An

Code: Select all

apt-get dist-upgrade
should do the trick. An dist-upgrade rather then just an upgrade is needed in some situation when a lot of package changes needs to be done.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Software update do not work,

Post by Cheeseboy »

If you had read the thread you would have known it was the first thing the OP did before even asking about his problem on this forum.
It was others (well, me) that suggested aptitude as a possible solution.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Software update do not work,

Post by RandomUsername »

ryz wrote:You should not use aptitude on Bubba use apt-get instead.

Aptitude smartens can often remove way to much as you noticed.

An

Code: Select all

apt-get dist-upgrade
should do the trick. An dist-upgrade rather then just an upgrade is needed in some situation when a lot of package changes needs to be done.
Totally disagree with this. Apt-get on the Bubba is no good at auto-removing dependent packages when they are no longer needed. Aptitude does a much better job.

@Christer, something looks totally hosed on your Bubba. If you can afford to, a reinstall looks like a good bet.
agkbill
Posts: 27
Joined: 15 Jan 2010, 13:44

Re: Software update do not work,

Post by agkbill »

Thank you all for input,

I will go for a reinstall.

I run my bubba2 with RAID, so it should just be to disconnect the external disk, reinstall bubba2 and then recreate the RAID.

Guess I will need to redo everything with adding users, installing and configure NFS.

But it is not to much.

All the best,

/Christer
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Software update do not work,

Post by RandomUsername »

I don't have RAID set up on my B2 but isn't there something about not being able to recreate the array from an external disk, only the internal one?
Post Reply