
Subject: libapt-pkg4.12: SIGSEGV when used by apt-get or aptitude
Date: Wed, 3 Oct 2012 15:55:48 +0200
$ sudo aptitude hold libapt-pkg4.12


zerozero@deb-kde ~/Documents $ sudo apt-get install kde-icons-crystal
[sudo] password for zerozero:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libcrypto++9 librados2 librbd1
Use 'apt-get autoremove' to remove them.
Recommended packages:
kdebase
The following NEW packages will be installed:
kde-icons-crystal
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,558 kB of archives.
After this operation, 3,490 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ testing/main kde-icons-crystal all 3.7-3 [1,558 kB]
Fetched 1,558 kB in 1s (813 kB/s)
Selecting previously unselected package kde-icons-crystal.
(Reading database ... 216943 files and directories currently installed.)
Unpacking kde-icons-crystal (from .../kde-icons-crystal_3.7-3_all.deb) ...
Setting up kde-icons-crystal (3.7-3) ...
zerozero@deb-kde ~/Documents $ apt policy libapt-pkg4.12
libapt-pkg4.12:
Installed: 0.9.7.5
Candidate: 0.9.7.5
Version table:
*** 0.9.7.5 0
500 http://ftp.debian.org/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status



narendra.d wrote:I needs some help.
My system is triple boot with LMDE (tracking Testing and installed ages ago) along with Crunchbang Waldorf and WinXP.
The issue is with the time setting going haywire every so often almost on every reboot. The RTC clock is set to UTC and the WinXP has its registry edited to read RTC as UTC. Auto update of time on WinXP is disabled. My time zone is Asia/Kolkatta. Crunchbang displays the time right always and does have ntp installed.
Its LMDE that is displaying the time wrong at almost every reboot. And writes the wrong time to the RTC. I have ntp installed, so the time corrects itself when connected to the net. I don't understand where the system is going wrong. I have tried dpkg-reconfigure tzdata, hwclock --systohc --utc and tried deleting the /etc/adjtime file as well, but to no effect.
My LMDE had most Mint stuff removed quite a while back and then some were reinstalled including mint-update and the pin priority in the /etc/preferences file was 500 for both mint and debian repos. Now everything is as per the original setting as it were meant to be for LMDE tracking Debian Testing. I use Gnome 3 and Gnome Classic if it matters, but have openbox installed as well but rarely use.. Are there multiple packages that are controlling time setting in my system because of the above.
How do i correct this? I would like to correct this in LMDE as thats where any goof up from my side might have happened and also because its the primary OS.. Is it possible other OS's are responsible? If yes, what to do and where?


I don't quite remember how I fixed it. I fiddled with the BIOS clock, changing from local time to GMT, or the other way around.jackmetal wrote:Narendra.d, I've actually noticed the same issue. I boot into Windows 7 and the time is correct, I boot back into LMDE and the time is off (by 4 hours for me, every time - my TZ is EST). Luckily, I don't boot into Windows very often, so I don't really think about it but your post reminded me.



BostonPeng wrote:Qapla'! It turned out the phrase that paid wasI can't tell y'all how nice it is to be back up and running with the GUI.
- Code: Select all
sudo apt-get install nvidia-kernel-dkms nvidia-glx build-essential nvidia-settings nvidia-xconfig --reinstall
Note to self: Stop upgrading with sudo apt-fast dist-upgrade. Apt-get seems to work more reliably, especially with the testing repos.


voss749 wrote:BostonPeng wrote:Qapla'! It turned out the phrase that paid wasI can't tell y'all how nice it is to be back up and running with the GUI.
- Code: Select all
sudo apt-get install nvidia-kernel-dkms nvidia-glx build-essential nvidia-settings nvidia-xconfig --reinstall
Note to self: Stop upgrading with sudo apt-fast dist-upgrade. Apt-get seems to work more reliably, especially with the testing repos.
THANK YOU! You saved my ass! I had the same problem. Im guessing for future reference to reinstall the nvidia drivers before I reboot after any new kernel install.


voss749 wrote:THANK YOU! You saved my ass! I had the same problem. Im guessing for future reference to reinstall the nvidia drivers before I reboot after any new kernel install.

squeezy wrote:voss749 wrote:THANK YOU! You saved my ass! I had the same problem. Im guessing for future reference to reinstall the nvidia drivers before I reboot after any new kernel install.
Now that you've got the driver installed using dkms, it'll be rebuilt automatically on kernel upgrades. dkms = Dynamic Kernel Module Support

voss749 wrote:squeezy wrote:voss749 wrote:THANK YOU! You saved my ass! I had the same problem. Im guessing for future reference to reinstall the nvidia drivers before I reboot after any new kernel install.
Now that you've got the driver installed using dkms, it'll be rebuilt automatically on kernel upgrades. dkms = Dynamic Kernel Module Support
I had DKMS, I still had to rerun it.


narendra.d wrote:@jackmetal and @mockturti: Thanks for responding.
My BIOS clock is already set to UTC. Both LMDE and Crunchbang have ntp installed, but I only can see LMDE writing the time to the BIOS clock during shutdown, and still get the time wrong at every boot. The time is off by varying degrees, from more than 5 1/2 hours (I am +5 1/2 hts from UTC) to about a Hour and half. I am thinking its LMDE that needs to be fixed. I did try deleting the /etc/adjtime file as well, thinking that it might be the cause, but didnt help.
Any more help from the experts on this forum please.
HTD wrote:Wait, something's wrong with the clock. If you use another OS like Windows or Ubuntu, setting hardware clock to UTC is not a good idea, so:
- Code: Select all
sed -r 's/^UTC=yes/UTC=no/ig' /etc/default/rcS | sudo tee /etc/default/rcS
sudo apt-get install ntp
This will disable UTC time and enable synchronizing with ntp servers. Set the time from panel. Reboot... WAIT, not yet!
Reboot is pretty broken now, it just reloads the kernel, skipping GRUB, so...
- Code: Select all
sudo apt-get remove kexec-tools
...should fix the problem. Now we can
- Code: Select all
sudo reboot

voss749 wrote:I had DKMS, I still had to rerun it.

Chris M wrote:I'm not sure if this excellent thread got buried or not, but this was a real nice one: Hacking LMDEHTD wrote:Wait, something's wrong with the clock. If you use another OS like Windows or Ubuntu, setting hardware clock to UTC is not a good idea, so:
- Code: Select all
sed -r 's/^UTC=yes/UTC=no/ig' /etc/default/rcS | sudo tee /etc/default/rcS
It's been a while since the above was posted, but that solution should still be good.

squeezy wrote:Setting UTC options in /etc/default/rcS was deprecated sometime ago. I don't know if it still works as a legacy setting. The current method for setting UTC is to edit /etc/adjtime and change the last line to read either UTC or LOCAL.

narendra.d wrote:squeezy wrote:Setting UTC options in /etc/default/rcS was deprecated sometime ago. I don't know if it still works as a legacy setting. The current method for setting UTC is to edit /etc/adjtime and change the last line to read either UTC or LOCAL.
Thank You Chris M and squeezy. I know that time settings are now managed in /etc/adjtime. I do not know if putting anything in /etc/default/rcS will matter (just checked: there is nothing time related in rcS.).
I will go thru the post linked by Chris M and see if it makes sense to me and get back with any Q's or feedback.
Thanks once again.

narendra.d wrote:squeezy wrote:Setting UTC options in /etc/default/rcS was deprecated sometime ago. I don't know if it still works as a legacy setting. The current method for setting UTC is to edit /etc/adjtime and change the last line to read either UTC or LOCAL.
Thank You Chris M and squeezy. I know that time settings are now managed in /etc/adjtime. I do not know if putting anything in /etc/default/rcS will matter (just checked: there is nothing time related in rcS.).
I will go thru the post linked by Chris M and see if it makes sense to me and get back with any Q's or feedback.
Thanks once again.


aragorn@aragorn-1215b ~/Linux $ sudo gdebi-kde ia32-crossover_11.3.1-1_amd64.deb
Traceback (most recent call last):
File "/usr/bin/gdebi-kde", line 67, in <module>
help=unicode(_("Run non-interactive (dangerous!)"),"UTF-8"))
TypeError: decoding Unicode is not supported

zerozero@deb-kde ~/Downloads $ sudo gdebi cinnamon-themes_2012.10.20_all.deb
[sudo] password for zerozero:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
Cinnamon themes
A collection of the best themes available for Cinnamon.
Do you want to install the software package? [y/N]:N
zerozero@deb-kde ~/Downloads $ sudo gdebi-kde cinnamon-themes_2012.10.20_all.deb
Traceback (most recent call last):
File "/usr/bin/gdebi-kde", line 67, in <module>
help=unicode(_("Run non-interactive (dangerous!)"),"UTF-8"))
TypeError: decoding Unicode is not supported



Users browsing this forum: No registered users and 6 guests