Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#1
First. This is after a dist-upgrade on AntiX 8.5 this morning. sux seems broke a little. su seems ok. I read a bug report at aptosid about it.

Code: Select all

harry@biker:~$ sux
Password: 
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
root@biker:/home/harry# rox
root@biker:/home/harry# exit
exit
harry@biker:~$ su
Password: 
root@biker:/home/harry# 
I purged mpd and I'll show you why.

Code: Select all

root@biker:/home/harry# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@biker:/home/harry# apt-get install -f mpd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  icecast2 pulseaudio
The following NEW packages will be installed:
  mpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 227 kB of archives.
After this operation, 564 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ testing/main mpd i386 0.16.7-2 [227 kB]
Fetched 227 kB in 8s (27.5 kB/s)                                               
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package mpd.
(Reading database ... 107715 files and directories currently installed.)
Unpacking mpd (from .../archives/mpd_0.16.7-2_i386.deb) ...
Processing triggers for man-db ...
Setting up mpd (0.16.7-2) ...
 * Starting Music Player Daemon mpd                                             /usr/bin/mpd: relocation error: /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53: symbol avcodec_is_open, version LIBAVCODEC_53 not defined in file libavcodec.so.53 with link time reference
                                                                         [fail]
invoke-rc.d: initscript mpd, action"start" failed.
dpkg: error processing mpd (--configure):
 subprocess installed post-installation script returned error exit status 127
configured to not write apport reports
                                      Errors were encountered while processing:
 mpd
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

harry@biker:~$ apt-cache policy mpc
mpc:
  Installed: 0.20-2
  Candidate: 0.20-2
  Version table:
 *** 0.20-2 0
        901 http://ftp.us.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status

Code: Select all

harry@biker:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           deb http://www.debian-multimedia.org testing main non-free
harry@biker:~$ uname -r
2.6.34-stevo
I think my mistake was not using the package maintainers version of rc.d when asked.
I just used the default and hit the enter/return key instead of typing"Y".

Code: Select all

root@biker:/home/harry# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
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 mpd (0.16.7-2) ...
 * Starting Music Player Daemon mpd                                             /usr/bin/mpd: relocation error: /usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.53: symbol avcodec_is_open, version LIBAVCODEC_53 not defined in file libavcodec.so.53 with link time reference
                                                                         [fail]
invoke-rc.d: initscript mpd, action"start" failed.
dpkg: error processing mpd (--configure):
 subprocess installed post-installation script returned error exit status 127
configured to not write apport reports
                                      Errors were encountered while processing:
 mpd
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm not to concerned with the sux issue. But I am stumped on how to purge rc.d, (in case I need to, to use the package maintainers version to fix mpd), and reinstall. so maybe I can fix dist-upgrade without removing mpd. Kinda lost here. __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Shoot. I oughta just uninstall 8.5 and go with testing maybe. Got a lot of stuff to backup first though. This is a longtime install on this IBM T23 Laptop.

Code: Select all

System:    Host: biker Kernel: 2.6.34-stevo i686 (32 bit) 
           Desktop: Fluxbox 1.3.2 Distro: antiX-M8.5 Marek Edelman 16 February 2010
Machine:   Mobo: IBM model: 26474MU Bios: IBM version: 1AET64WW (1.20 ) date: 10/18/2006
CPU:       Single core Mobile Intel Pentium III CPU - M (-UP-) cache: 512 KB flags: (sse) clocked at 798.00 MHz 
Graphics:  Card: S3 SuperSavage IX/C SDR X.Org: 1.11.4 driver: vesa Resolution: 1024x768@71.0hz 
           GLX Renderer: Rasterizer GLX Version: 2.1 Mesa 7.11.2
Audio:     Card: Intel 82801CA/CAM AC'97 Audio Controller driver: Intel ICH Sound: ALSA ver: 1.0.22.1
Network:   Card-1: Ralink RT2561/RT61 802.11g PCI driver: rt61pci 
           IF: wlan0 state: up mac: <filter>
           Card-2: Intel 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller driver: e100 
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 80.0GB (17.3% used) 1: /dev/hda ST980815A 80.0GB 
Partition: ID: / size: 6.8G used: 3.5G (54%) fs: ext3 ID: /home size: 11G used: 3.6G (36%) fs: ext3 
           ID: swap-1 size: 1.04GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 51.0C mobo: 48.0C 
           Fan Speeds (in rpm): cpu: N/A fan-1: 0 
Info:      Processes: 92 Uptime: 1:05 Memory: 272.2/1008.7MB Client: Shell inxi: 1.7.31 
Hope I don't have to though.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
Is mpd purged?

If it is, remove the mpd script in /etc/init.d and alll related to mpd in /var/lib/dpkg/info

Try with the multimedia repos commented out. (I don't use it at there are too many conflicts)

apt-get update && apt-get dist-upgrade (or just upgrade).

You might need a reboot before apt-get.

I presusme everything else is working ok.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
I presume everything else is working ok.
I've been checking out overything else and yeah. Sound is OK when I purged music player deamon (mpd).

Code: Select all

root@biker:/home/harry# apt-get remove --purge mpd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  mpd*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 564 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 107738 files and directories currently installed.)
Removing mpd ...
 * Stopping Music Player Daemon mpd                                      [ ok ] 
Purging configuration files for mpd ...
dpkg: warning: while removing mpd, directory '/var/lib/mpd' not empty so not removed.
Processing triggers for man-db ...
root@biker:/home/harry# 
remove the mpd script in /etc/init.d and alll related to mpd in /var/lib/dpkg/info
Thanks Bro, Will be moving on to doing that and update thread later.

Edit update: apt-get remove --purge seems to have handled deleting the mpd script in /etc/intit.d and all mpd releated text files in /var/lib/dpkg/info also, (or I am just tired and can't see em)

apt-get update && apt-get dist-upgrade (or just upgrade).

I will follow all instructions to the"T" as always. Been a busy month here tweaking scooters here also.

Edit: Update since following instructions:

Code: Select all

root@biker:/home/harry# inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
root@biker:/home/harry# apt-get update && apt-get dist-upgrade
Hit http://security.debian.org testing/updates InRelease  
Hit http://security.debian.org testing/updates/main i386 Packages
Hit http://security.debian.org testing/updates/contrib i386 Packages
Hit http://security.debian.org testing/updates/non-free i386 Packages
Ign http://security.debian.org testing/updates/contrib TranslationIndex
Ign http://security.debian.org testing/updates/main TranslationIndex
Get:1 http://ftp.us.debian.org testing InRelease [185 kB]
Ign http://security.debian.org testing/updates/non-free TranslationIndex
Ign http://security.debian.org testing/updates/contrib Translation-en_US
Ign http://security.debian.org testing/updates/contrib Translation-en
Ign http://security.debian.org testing/updates/main Translation-en_US
Ign http://security.debian.org testing/updates/main Translation-en
Ign http://security.debian.org testing/updates/non-free Translation-en_US
Ign http://security.debian.org testing/updates/non-free Translation-en
Get:2 http://ftp.us.debian.org testing/main i386 Packages/DiffIndex [7,876 B]  
Hit http://ftp.us.debian.org testing/contrib i386 Packages/DiffIndex           
Get:3 http://ftp.us.debian.org testing/non-free i386 Packages/DiffIndex [3,955 B]
Ign http://ftp.us.debian.org testing/contrib TranslationIndex                  
Get:4 http://ftp.us.debian.org testing/main TranslationIndex [2,223 B]         
Ign http://ftp.us.debian.org testing/non-free TranslationIndex                 
Get:5 http://ftp.us.debian.org testing/main i386 2012-03-28-1411.21.pdiff [1,290 B]
Get:6 http://ftp.us.debian.org testing/main i386 2012-03-28-1411.21.pdiff [1,290 B]
Get:7 http://ftp.us.debian.org testing/non-free i386 2012-03-28-1411.21.pdiff [29 B]
Get:8 http://ftp.us.debian.org testing/contrib Translation-en [36.2 kB]        
Get:9 http://ftp.us.debian.org testing/main Translation-en [3,791 kB]          
Get:10 http://ftp.us.debian.org testing/non-free i386 2012-03-28-1411.21.pdiff [29 B]
Get:11 http://ftp.us.debian.org testing/non-free Translation-en [63.1 kB]      
Ign http://ftp.us.debian.org testing/contrib Translation-en_US                 
Ign http://ftp.us.debian.org testing/non-free Translation-en_US                
Fetched 4,091 kB in 2min 0s (33.9 kB/s)                                        
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Will go with this for now. I will wait to see if anything else breaks later I guess. Maybe this old beater needs a AntiX 12 upgrade to run better. I have fluxbox only with special tint2 setup with special conky and Wallpapers, Music, Movies, /boot/grub/menu.lst, rox automount usb script, like I said. Tons of stuff to back up before a reinstall.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
If I were you, don't use the multimedia repo once you have the apps you need from there.

You might be able to get mpd to work again.