UP and BE/BO 2014.07.15

Important informations about SolydXK including releases notes, forum rules and other anouncements
genosensor
Posts: 3
Joined: 18 Jul 2014 05:56

DBUS, polkit, network manager failures after upgrade

Postby genosensor » 20 Jul 2014 20:15

The apparent problem with DBUS, polkit and network manager being unable to determine the user session was due to my running a custom kernel that did not have CGROUPS support enabled.
See:
https://wiki.debian.org/systemd

dljohn
Posts: 10
Joined: 18 Jan 2014 19:39

Re: UP and BE/BO 2014.07.15

Postby dljohn » 20 Jul 2014 23:44

I'm having a problem similar to those upthread, but not exactly the same. I've updated to the latest using UM, which seemed successful after a few bumps, got the "up to date" window, but UM also had the following:

Code: Select all

....
Setting up solydxk-system (1.2.0) ...
snd-hda-intel model already set
pcspkr already blacklisted
Failed to get D-Bus connection: No connection to service manager.
dpkg: error processing package solydxk-system (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 solydxk-system
E: Sub-process /usr/bin/dpkg returned an error code (1)
THEN I loooked on the forums and followed the instructions to: 'apt dist-upgrade' but got the same error. Then 'apt-get autoremove', then successfully logged out, back in, and rebooted, and ran 'apt dist-upgrade' again. This is the message from that attempt:

Code: Select all

$ sudo apt dist-upgrade 
[sudo] password for john: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libboost-python1.55.0
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  libboost-python1.55.0
The following packages have been kept back:
  python-pyopencl
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/143 kB of archives.
After this operation, 706 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libboost-python1.55.0.
(Reading database ... 246303 files and directories currently installed.)
Preparing to unpack .../libboost-python1.55.0_1.55.0+dfsg-2_amd64.deb ...
Unpacking libboost-python1.55.0 (1.55.0+dfsg-2) ...
Setting up solydxk-system (1.2.0) ...
snd-hda-intel model already set
pcspkr already blacklisted
Failed to get D-Bus connection: No connection to service manager.
dpkg: error processing package solydxk-system (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libboost-python1.55.0 (1.55.0+dfsg-2) ...
Processing triggers for libc-bin (2.19-3) ...
Errors were encountered while processing:
 solydxk-system
E: Sub-process /usr/bin/dpkg returned an error code (1)
What should I do? The system seems to be running correctly-so far- however it appears that some packages have not been upgraded. The computer is a bog-standard Dell N7110, with intel second gen integrated GPU, AMD64. I'm using XFCE.

EDIT: I don't have the ia32-libs ia32-libs-i386 libgdbm3:i386 packages installed.

pascale
Posts: 24
Joined: 05 Apr 2014 17:13

Re: UP and BE/BO 2014.07.15

Postby pascale » 21 Jul 2014 01:21

Hi,

on problem similar to Dljohn with update...

UM updated fine, followed with a longer update that went fine, and today I had a smaller update that lead to exiting on E: Sub-process /usr/bin/dpkg returned an error code (1)

Similarly to Dljohn, errors were encountered while processing: solydxk-system.

Here is my output for apt-dist upgrade:

Code: Select all

$ apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  gfortran-4.8 libavcodec54:i386 libgfortran-4.8-dev liblivemedia33
  libmodemmanagerqt0 libnetworkmanagerqt0 libpoppler37 libpython3.4 littler
  r-cran-domc r-cran-foreach r-cran-iterators r-cran-multicore r-cran-plyr
  r-cran-rcpp
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y 
Setting up solydxk-system (1.2.0) ...
snd-hda-intel model already set
pcspkr already blacklisted
cp: cannot create regular file ‘/usr/share/system-config-printer/testpage-letter.ps’: No such file or directory
cp: cannot create regular file ‘/usr/share/system-config-printer/testpage-a4.ps’: No such file or directory
Failed to get D-Bus connection: No connection to service manager.
dpkg: error processing package solydxk-system (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 solydxk-system
E: Sub-process /usr/bin/dpkg returned an error code (1)
Am I supposed to purge and reinstall something? I'm a newbie, so I'll need pretty explicit directions... :oops: I appologize in advance.

merci!

Pascale

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: UP and BE/BO 2014.07.15

Postby ScottQuier » 21 Jul 2014 01:33

@pascale you might find a solution in the second post of this thread --> http://forums.solydxk.nl/viewtopic.php?f=32&t=4345
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

dljohn
Posts: 10
Joined: 18 Jan 2014 19:39

Re: UP and BE/BO 2014.07.15

Postby dljohn » 21 Jul 2014 01:43

@ScottQuier, I got:

Code: Select all

$ sudo apt-get -f install
[sudo] password for john: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up solydxk-system (1.2.0) ...
snd-hda-intel model already set
pcspkr already blacklisted
Failed to get D-Bus connection: No connection to service manager.
dpkg: error processing package solydxk-system (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 solydxk-system
E: Sub-process /usr/bin/dpkg returned an error code (1)
Are you saying I should apt purge solydxk-system, then:
sudo apt-get -f install
apt dist-upgrade
I'm pretty new at this also.

pascale
Posts: 24
Joined: 05 Apr 2014 17:13

Re: UP and BE/BO 2014.07.15

Postby pascale » 21 Jul 2014 02:46

thank you for responding ScottQuier :)

same problem/question as dljohn again ...

I tried 'apt purge libgdbm3:i386' as zerozero suggested in that post, but I'm stuck with the same output as before.

I also see grizzler has a full fix script with instructions for problems with libgdbm3:i386 viewtopic.php?f=32&t=4303&start=40#p39858

but the problem reported in my output is not with libgdbm3:i386 but with solydxk-system... is that all the same thing/same problem?

Pascale

User avatar
grizzler
Posts: 2175
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: UP and BE/BO 2014.07.15

Postby grizzler » 21 Jul 2014 05:11

This is a whole new problem, apparently caused by yesterday's update of solydxk-system. The systemd-sysv package is missing. Install that and it removes sysvinit-core, which looks scary, but didn't cause any more problems in two VMs where I unexpectedly ran into this issue. But let's wait for the official fix before we start pulling at the loose ends...
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Arjen Balfoort
Site Admin
Posts: 9311
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: UP and BE/BO 2014.07.15

Postby Arjen Balfoort » 21 Jul 2014 06:30

The updates solydxk-system just checks for the existence of /bin/systemctl before reloading the services for systemd:

Code: Select all

	# Reload services for systemd
	if [ -e /bin/systemctl ]; then
	  systemctl --system daemon-reload
	fi
I've tested this on all versions successfully, even the business editions following stable (with sysvinit).

Perhaps this is not the problem, but solydxk-system runs a python script after install, and during each boot. Perhaps that is giving an error?

Please run:

Code: Select all

. /usr/lib/solydxk/system/adjust.py
to see if that gives an error.

My guess is that the dbus error causes the configuration of solydxk-system to fail. If that is the case, I'll revert the solydxk-system package to the previous version. Than we'll update that package later.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9311
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: UP and BE/BO 2014.07.15

Postby Arjen Balfoort » 21 Jul 2014 07:10

I found out that you can install systemd (which comes with systemctl) but not installing systemd-sysv (which will cause the systemctl command to fail). The business editions have neither, and that's why I thought everything was fine.

I've changed the code a bit but kept the same version for solydxk-system.
Could you run this:

Code: Select all

sudo apt-get update; sudo apt-get install --reinstall solydxk-system


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9311
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: UP and BE/BO 2014.07.15

Postby Arjen Balfoort » 21 Jul 2014 07:51

I still had problems with a prepared system.
So, I reverted back to the original version 1.1.9

If you already updated to the 1.2.0 version:

Code: Select all

sudo rm /var/lib/dpkg/info/solydxk-system.prerm; sudo apt-get install solydxk-system=1.1.9


SolydXK needs you!
Development | Testing | Translations

francesco312
Posts: 12
Joined: 16 Sep 2013 10:25

Re: UP and BE/BO 2014.07.15

Postby francesco312 » 21 Jul 2014 09:26

I have updated my system and encountered a few issues.

First of all, the UM crashed right while upgrading libc6, leaving it unconfigured. Quite dangerous... Anyway, I resumed the update from terminal and was able to fix that.

Next, I encountered the following problem, but was able to fix it by using this sugestion (thanks!):
Attunga wrote:I was previously locked out of the system at the logon screen, every time you would log on it would just return to the logon screen.

I eventually ran:

Code: Select all

sudo apt install --reinstall kde-workspace-bin
This allowed me to get in, it has slightly messed up my workspace and a widget is missing but it did not take long to fix everything.

Off to try things on my laptop now, I am almost tempted to try the XFCE version on it in the future but will run the upgrades for testing purposes.
Finally, solydxk-system fails to configure:
Configurazione di solydxk-system (1.2.0)...
snd-hda-intel model already set
pcspkr already blacklisted
cp: impossibile eseguire stat di "/usr/share/solydxk/adjustments/firefox/searchplugins/common/*": File o directory non esistente
Failed to get D-Bus connection: No connection to service manager.
dpkg: errore nell'elaborare il pacchetto solydxk-system (--configure):
il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
While the problem with "cp" had already occurred other times, and is usually only a warning, I believe the real issue is that "Failed to get D-Bus connection: No connection to service manager."
I have tried using a different kernel, rebooting, etc but without success. Any clue?

User avatar
grizzler
Posts: 2175
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: UP and BE/BO 2014.07.15

Postby grizzler » 21 Jul 2014 09:27

Read the postings immediately above yours.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Gonzalo_VC
Posts: 321
Joined: 07 May 2013 13:25
Location: SouthAmerica

Re: UP and BE/BO 2014.07.15

Postby Gonzalo_VC » 21 Jul 2014 12:32

The real problem is that each machine is a different case :?

In my netbook wirh SolydX 32 I got this, yesterday, after applying the "survival kit" suggestions by zerozero: something about solydxk-system ?? And before that, I noticed (in the middle of that long process od download, unpacking and installation) some errors that I assume were about some icons from a theme is not there, perhaps belonging to KDE and not Xfce.

Code: Select all

netbook-gvc gonzalo # apt-get upgrade --fix-missing
Lendo listas de pacotes... Pronto
Construindo árvore de dependências      
Lendo informação de estado... Pronto
Calculando atualização... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
  libboost-date-time1.54.0 libboost-system1.54.0 libcmis-0.3-3 libmwaw-0.1-1
  libpython3.3
Utilize 'apt-get autoremove' para os remover.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
2 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] s
Configurando solydxk-system (1.2.0) ...
snd-hda-intel model already set
pcspkr already blacklisted
Failed to get D-Bus connection: No connection to service manager.
dpkg: error processing package solydxk-system (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1
dpkg: problemas com dependências impedem a configuração de solydx-system-adjustments:
 solydx-system-adjustments depende de solydxk-system; porém:
  Pacote solydxk-system não está configurado ainda.

dpkg: error processing package solydx-system-adjustments (--configure):
 problemas de dependência - deixando desconfigurado
Erros foram encontrados durante o processamento de:
 solydxk-system
 solydx-system-adjustments
E: Sub-process /usr/bin/dpkg returned an error code (1)
YET, the machine was restarted and works. And the UM says is up to date ;)

Don't be a pirate, nor a slave. Use GNU/Linux!
GNU/Linux user 451206
SolydXK, GALPon MiniNo, PCLinuxOS, Xubuntu



pascale
Posts: 24
Joined: 05 Apr 2014 17:13

Re: UP and BE/BO 2014.07.15

Postby pascale » 21 Jul 2014 13:44

hi!

Schoelje's

Code: Select all

sudo rm /var/lib/dpkg/info/solydxk-system.prerm; sudo apt-get install solydxk-system=1.1.9
seems to have fixed my solydxk-system problem. The system reboots, I can login, the UM says all is up to date.

However when the computer boots up I get a few screenfull of 'udev[(some number, example 2255)] failed to exeute (file location) no such file or directory'. :?
hum... While I was trying to 'fix' my solydxk-system problem yesterday, I purged solydxk-system, which removed related files (system-adjustment and plymouth...? - I didn't write down the exact name!) and I noticed that they did not reinstall when I reinstalled solydxk-system. Could this be what the computer is looking for during boot? Is there a way to check what is missing and install/re-install these files?

Pascale

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: UP and BE/BO 2014.07.15

Postby ScottQuier » 21 Jul 2014 14:40

@Pascale

This is (usually) an artifact of hal still being installed. Please run the command:

Code: Select all

sudo apt-get purge hal hal-info
and then reboot to see it that does (or does not) remove your udev error messages.
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: UP and BE/BO 2014.07.15

Postby zerozero » 21 Jul 2014 15:00

@Gonzalo
the solution for that error is 3 posts above yours (in this same page)


@pascale

Code: Select all

cat /var/log/apt/history.log | grep Remove
will give you a list of the removed packages
bliss of ignorance

cruachan
Posts: 14
Joined: 15 Jul 2014 19:08

Re: UP and BE/BO 2014.07.15

Postby cruachan » 21 Jul 2014 15:21

Thanks for responding. Here's the output from aplay -l as requested.

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Seems as though it's reverting to card 1 (HDMI) and not card 0 everytime it reboots and althought I can change it via System Settings - Multimedia - Audio Hardware Setup it doesn't stick.

john
Posts: 22
Joined: 29 May 2013 16:44
Location: Wales

Re: UP and BE/BO 2014.07.15

Postby john » 21 Jul 2014 15:37

If you change it in the Device Preference tab (rather than Audio Hardware Setup) it should stick.

cruachan
Posts: 14
Joined: 15 Jul 2014 19:08

Re: UP and BE/BO 2014.07.15

Postby cruachan » 21 Jul 2014 16:03

Sound still not on by default between reboots I'm afraid. I did as you said, I installed Pavucontrol from the software centre (I have not needed this previously when everything was working fine before the update). I couldn't see a "Device Preferences" tab but I went into the Configuration tab and turned the Cedar HDMI Audio proile off but left the Analog Stereo Duplex (Unplugged) profile alone (see snapshot) but still no joy. Reboot results in no sound until I go into Kmix and reselect Analog Stereo and Line Out again. What am I missing?
Attachments
snapshot1.png

dljohn
Posts: 10
Joined: 18 Jan 2014 19:39

Re: UP and BE/BO 2014.07.15

Postby dljohn » 21 Jul 2014 16:06

Schoelje:
Please run:

Code: Select all

.  /usr/lib/solydxk/system/adjust.py
Running exactly as above, with one space after the initial '.' using sudo (in latest FF the forum for some reason changes this space in the reply panel when you hit the "code" button):

Code: Select all

john@solyd:~$ sudo . /usr/lib/solydxk/system/adjust.py
sudo: .: command not found
Not using sudo:

Code: Select all

john@solyd:~$ .  /usr/lib/solydxk/system/adjust.py
from: can't read /var/mail/time
bash: global: command not found
bash: /usr/lib/solydxk/system/adjust.py: line 10: syntax error near unexpected token `('
bash: /usr/lib/solydxk/system/adjust.py: line 10: `logfile = open("/var/log/solydxk-system.log", "w")'
With space between '.' and '/usr/~ removed, using sudo:

Code: Select all

john@solyd:~$ sudo ./usr/lib/solydxk/system/adjust.py
sudo: ./usr/lib/solydxk/system/adjust.py: command not found
With space removed, not using sudo:

Code: Select all

john@solyd:~$ ./usr/lib/solydxk/system/adjust.py
bash: ./usr/lib/solydxk/system/adjust.py: No such file or directory

Schoelje:
I've changed the code a bit but kept the same version for solydxk-system.
Could you run this:

Code: Select all

sudo apt-get update; sudo apt-get install --reinstall solydxk-system
I get:

Code: Select all

john@solyd:~$ sudo apt-get update; sudo apt-get install --reinstall solydxk-system
[sudo] password for john: 
....
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of solydxk-system is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up solydxk-system (1.2.0) ...
snd-hda-intel model already set
pcspkr already blacklisted
Failed to get D-Bus connection: No connection to service manager.
dpkg: error processing package solydxk-system (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 solydxk-system
E: Sub-process /usr/bin/dpkg returned an error code (1)

Schoelje:
I still had problems with a prepared system.
So, I reverted back to the original version 1.1.9

If you already updated to the 1.2.0 version:

Code: Select all

 sudo rm /var/lib/dpkg/info/solydxk-system.prerm; sudo apt-get install solydxk-system=1.1.9
I get:

Code: Select all

john@solyd:~$ sudo rm /var/lib/dpkg/info/solydxk-system.prerm; sudo apt-get install solydxk-system=1.1.9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be DOWNGRADED:
  solydxk-system
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/7,046 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: warning: downgrading solydxk-system from 1.2.0 to 1.1.9
(Reading database ... 246303 files and directories currently installed.)
Preparing to unpack .../solydxk-system_1.1.9_all.deb ...
Unpacking solydxk-system (1.1.9) over (1.2.0) ...
Setting up solydxk-system (1.1.9) ...
Installing new version of config file /etc/init.d/solydxk-system ...
snd-hda-intel model already set
pcspkr already blacklisted
So that worked. Continuing, I ran:

Code: Select all

john@solyd:~$ sudo apt-get update; sudo apt-get install
....
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Good. However UM still says "There are updates available." Then I ran UM, it came up with an "up to date" response, but still says "There are updates available." Then:

Code: Select all

john@solyd:~$ sudo apt-get update; sudo apt-get install --reinstall solydxk-system=1.1.9
....
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/7,046 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 246303 files and directories currently installed.)
Preparing to unpack .../solydxk-system_1.1.9_all.deb ...
Unpacking solydxk-system (1.1.9) over (1.1.9) ...
Setting up solydxk-system (1.1.9) ...
snd-hda-intel model already set
pcspkr already blacklisted
However UM still says "There are updates available." I am guessing it is still looking for solydxk-system 1.2.0?

At any rate, the error message is gone and things seem to be working correctly. Many thanks to Schoelje, grizzler, ScottQuier, and pascale for all your efforts. 8-)


Return to “News & Anouncements”

Who is online

Users browsing this forum: No registered users and 3 guests