Daniel James wrote:
> Hi Ralf,
>
>> I guess there is a script that always tries to do this:
>>
>> File "/usr/lib/python2.5/site-packages/augeas.py", line 266, in save
>>    raise IOError, "Unable to save to file!"
>> IOError: Unable to save to file!
>
> Yes, the script is /usr/sbin/64studio-config and it's a post-install 
> script for the 64studio package. Some package change has broken this 
> script between 3.0 beta 3 and now, and so I need to find a solution.
> [snip]

Um, I tried the following: [1] After each try I run Synaptic, reloaded 
the package information and installed and/ or removed an insignificant 
package. But the action because of the package 64studio always was kept, 
locking the package version also didn't stop the action (I tried this 
before).

[1]
------------------------------------------------------------------------
r...@64studio:~# cp -p /mnt/music/tmp/etc/apt/sources.list 
/etc/apt/sources.list
r...@64studio:~# cp -p /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# cp -p /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# cp -p /mnt/music/tmp/usr/sbin/64studio-config 
/usr/sbin/64studio-config
r...@64studio:~# cp -p 
/mnt/music/tmp/usr/share/python-support/64studio/studio.py 
/usr/share/python-support/64studio/studio.py
r...@64studio:~# cp -p 
/mnt/music/tmp/usr/share/python-support/64studio/studio-0.0.1.egg-info 
/usr/share/python-support/64studio/studio-0.0.1.egg-info
r...@64studio:~# cp -pr /mnt/music/tmp/etc/apt/* /etc/apt
r...@64studio:~# synaptic
r...@64studio:~# cp -p /mnt/music/tmp/etc/apt/sources.list 
/etc/apt/sources.list
r...@64studio:~# cp -p /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# cp -p /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# rm /usr/sbin/64studio-config
r...@64studio:~# cp -p 
/mnt/music/tmp/usr/share/python-support/64studio/studio-0.0.1.egg-info 
/usr/share/python-support/64studio/studio-0.0.1.egg-info
r...@64studio:~# cp -p 
/mnt/music/tmp/usr/share/python-support/64studio/studio.py 
/usr/share/python-support/64studio/studio.py
r...@64studio:~# synaptic
r...@64studio:~# ls /usr/sbin | grep 64studio-config
r...@64studio:~# ls /mnt/music/tmp/usr/sbin | grep 64studio-config
64studio-config
r...@64studio:~# cp -p /mnt/music/tmp/etc/apt/sources.list 
/etc/apt/sources.list
r...@64studio:~# cp -p /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# cp -p /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# rm /usr/sbin/64studio-config
rm: cannot remove `/usr/sbin/64studio-config': No such file or directory
r...@64studio:~# rm /usr/share/python-support/64studio/studio-0.0.1.egg-info
r...@64studio:~# rm /usr/share/python-support/64studio/studio.py
r...@64studio:~# synaptic
r...@64studio:~# rm /etc/init.d/64studio
r...@64studio:~# cp -p /mnt/music/tmp/etc/apt/sources.list 
/etc/apt/sources.list
r...@64studio:~# cp -p /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# cp -p /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# synaptic
r...@64studio:~# apt-get install 64studio
Reading package lists... Done
Building dependency tree      
Reading state information... Done
64studio is already the newest version.
The following packages were automatically installed and are no longer 
required:
  libconfig-tiny-perl
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, 0B of additional disk space will be used.
Setting up 64studio (3.0~pre10~hardy1) ...
/var/lib/dpkg/info/64studio.postinst: 80: 64studio-config: not found
dpkg: error processing 64studio (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 64studio
E: Sub-process /usr/bin/dpkg returned an error code (1)
r...@64studio:~# cp -p /mnt/music/tmp/etc/apt/sources.list 
/etc/apt/sources.list
r...@64studio:~# cp -p /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# cp -p /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# synaptic
------------------------------------------------------------------------

Then I restored "everything" again: [2] When I run Synaptic this time, I 
only reloaded the package information, but didn't install, remove or 
upgrade any package. I restarted the computer.

[2]
------------------------------------------------------------------------
r...@64studio:~# cp -pr /mnt/music/tmp/etc/apt/* /etc/apt
r...@64studio:~# cp -p /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# cp -p /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# cp -p /mnt/music/tmp/usr/sbin/64studio-config 
/usr/sbin/64studio-config
r...@64studio:~# cp -p 
/mnt/music/tmp/usr/share/python-support/64studio/studio.py 
/usr/share/python-support/64studio/studio.py
r...@64studio:~# cp -p 
/mnt/music/tmp/usr/share/python-support/64studio/studio-0.0.1.egg-info 
/usr/share/python-support/64studio/studio-0.0.1.egg-info
r...@64studio:~# synaptic
------------------------------------------------------------------------

After the restart everything seems to be fine: [3] This will be fine 
until I need to use the package management again.
(OT: Btw., sometimes there's a "FuterWarning" when running synaptic and 
sometimes there isn't such a warning. This warning seems to appear when 
opening the repository window.)

[3]
------------------------------------------------------------------------
r...@64studio:~# diff -r /mnt/music/tmp/etc/apt/ /etc/apt/
r...@64studio:~# diff /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# diff /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# diff /mnt/music/tmp/usr/sbin/64studio-config 
/usr/sbin/64studio-config
r...@64studio:~# diff 
/mnt/music/tmp/usr/share/python-support/64studio/studio.py 
/usr/share/python-support/64studio/studio.py
r...@64studio:~# diff 
/mnt/music/tmp/usr/share/python-support/64studio/studio-0.0.1.egg-info 
/usr/share/python-support/64studio/studio-0.0.1.egg-info
r...@64studio:~# synaptic
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt 
API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
r...@64studio:~# synaptic
r...@64studio:~# diff /mnt/music/tmp/etc/init.d/64studio 
/etc/init.d/64studio
diff: /etc/init.d/64studio: No such file or directory
r...@64studio:~# cp -p /mnt/music/tmp/etc/init.d/64studio 
/etc/init.d/64studio
r...@64studio:~# diff /mnt/music/tmp/etc/init.d/64studio 
/etc/init.d/64studio
------------------------------------------------------------------------

Oops, I forgot to restore /etc/init.d/64studio, anyway after a new 
restart, but without touching the package management to install, remove 
or upgrade a package 64 Studio still seems to be fine [4].

*Is there anything I can copy or install from the* 3.0-beta3 *install 
media, to solve this issue*? I like to install, remove and upgrade 
packages without the need to restore /etc/apt/sources.list, 
/etc/gdm/gdm.conf-custom and /etc/modprobe.d/hda-intel after doing this ;).

[4]
------------------------------------------------------------------------
r...@64studio:~# synaptic
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt 
API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
r...@64studio:~# synaptic
r...@64studio:~# diff -r /mnt/music/tmp/etc/apt/ /etc/apt/
r...@64studio:~# diff /mnt/music/tmp/etc/gdm/gdm.conf-custom 
/etc/gdm/gdm.conf-custom
r...@64studio:~# diff /mnt/music/tmp/etc/modprobe.d/hda-intel 
/etc/modprobe.d/hda-intel
r...@64studio:~# diff /mnt/music/tmp/usr/sbin/64studio-config 
/usr/sbin/64studio-config
r...@64studio:~# diff 
/mnt/music/tmp/usr/share/python-support/64studio/studio-0.0.1.egg-info 
/usr/share/python-support/64studio/studio-0.0.1.egg-info
r...@64studio:~# diff 
/mnt/music/tmp/usr/share/python-support/64studio/studio.py 
/usr/share/python-support/64studio/studio.py
r...@64studio:~# diff /mnt/music/tmp/etc/init.d/64studio 
/etc/init.d/64studio
------------------------------------------------------------------------

Ralf
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to