It is currently Mon Aug 21, 2017 7:30 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: dpkg: error processing /var/cache/apt/archives/tzdataSOLVED
PostPosted: Tue May 03, 2011 8:29 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Did a
Code:
apt-get update


Then a
Code:
apt-get dist-upgrade


today on my EEEPC 900 . Ended up with a

Code:
(Reading database ... 67516 files and directories currently installed.)
Preparing to replace tzdata 2011d-1 (using .../tzdata_2011g-1_all.deb) ...
Unpacking replacement tzdata ...
dpkg: error processing /var/cache/apt/archives/tzdata_2011g-1_all.deb (--unpack):
unable to create `/usr/share/zoneinfo/zone.tab.dpkg-new' (while processing `./usr/share/zoneinfo/zone.tab'): Input/output error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
configured to not write apport reports
                                      Errors were encountered while processing:
/var/cache/apt/archives/tzdata_2011g-1_all.deb
localepurge: Disk space freed in /usr/share/locale: 9272 KiB
localepurge: Disk space freed in /usr/share/man: 720 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: 9992 KiB

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


Tried google first before posting. No good hits for
Quote:
Errors were encountered while processing:
/var/cache/apt/archives/tzdata_2011g-1_all.deb


I rebooted OK. So not a total break down. Thinking of deleting /var/cache/apt/archives/tzdata_2011g-1_all.deb
in rox as root. But unsure how to fix this.

My complete readout is in tar.gz
Attachment:
3may2011_dist_upgrade.tar.gz [11.22 KiB]
Downloaded 396 times

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdata_20
PostPosted: Tue May 03, 2011 8:57 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
I am thinking of this plan of attack.

Delete /var/cache/apt/archives/tzdata_2011g-1_all.deb

Then lock tzdata_2011d-1 since it shows still installed and needing upgrade in synaptic.

Then run apt-get update && apt-get dist-upgrade again and see if I can get rid of

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


What do you think?

Edit: Scratch that. Did a dpkg-reconfigure tzdata and I am doing another apt-get update && apt-get dist-upgrade again. Looks like I did not get the full dist-upgrade on first try maybe. Will see in few if I break or make it.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdata_20
PostPosted: Tue May 03, 2011 9:27 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Shucks. Did not fix it,
Attachment:
latest_dist_upgrade_3May2011.tar.gz [8.47 KiB]
Downloaded 381 times

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdata_20
PostPosted: Wed May 04, 2011 12:53 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Well, I at least got a dist-upgrade completed with no errors (sorta)

I made a /etc/apt/preferences text file
Code:
Package: tzdata
Pin: version 2011d-1
Pin-Priority: 1001


At least apt-get dist-upgrade completed.


Attachment:
dist-upgrade.tar.gz [18.74 KiB]
Downloaded 400 times


Now for a reboot (crosses fingers)

Edit: Reboot OK. 10 seconds to slim on ext2 file system on 4 gig SSD drive.

Marking this as Solved though I still have to figure out

Quote:
unable to create `/usr/share/zoneinfo/zone.tab.dpkg-new
(while processing `./usr/share/zoneinfo/zone.tab'): Input/output error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
configured to not write apport reports
Errors were encountered while processing:
/var/cache/apt/archives/tzdata_2011g-1_all.deb

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:02 am 
Online
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5897
Location: Greece
Try renaming the /usr/share/zoneinfo/zone.tab to something else ans see if the upgrade works.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:09 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
anticapitalista wrote:
Try renaming the /usr/share/zoneinfo/zone.tab to something else ans see if the upgrade works.



/usr/share/zoneinfo folder is empty Anti. Nothing there to rename.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:27 am 
Online
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5897
Location: Greece
That is bad. There should be something in there.

Try dpkg-reconfigure tzdata

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:29 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Code:
# dpkg-reconfigure tzdata
cp: cannot stat `/usr/share/zoneinfo/US/Central': No such file or directory

Current default time zone: 'US/Central'
Local time is now:      Tue May  3 18:25:13 CDT 2011.
Universal Time is now:  Tue May  3 23:25:13 UTC 2011.


No such file or directory? Icewm taskbar shows correct time?

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:32 am 
Online
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5897
Location: Greece
another apt-get install tzdata

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:35 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Code:
apt-get install tzdata
Reading package lists... Done
Building dependency tree       
Reading state information... Done
tzdata is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I probably have to unpin it first. :oops:

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 1:48 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Not a good Idea
Code:
[email protected]:/mnt/sdb1/home/harry# apt-get purge tzdata
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-libxml2 gv system-config-printer-udev python-pyorbit ghostscript-x
  python-gconf libmcrypt4 libgringotts2 cups-pk-helper libmhash2 libtar gpart
  python-cupshelpers
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  makedev
The following packages will be REMOVED:
  alsa-base* alsa-utils* aufs-modules-2.6.32-1-mepis-smp* ceni* ceniwrapper*
  dmsetup* e2fsprogs* fuse-utils* gjots2* gparted* grub-common* grub-gfxboot*
  gvfs* gvfs-backends* gvfs-fuse* hal* halevt* initramfs-tools*
  libbonoboui2-0* libdevmapper1.02.1* libgdu0* libgnome2-0* libgnomeui-0*
  libical0* liblvm2app2.2* libparted0debian1* linux-image-2.6.32-1-mepis-smp*
  mepis-install* ntfsprogs* osmo* parted* python-gnome2* smbnetfs* sshfs*
  system-config-printer* tzdata* udev* udisks* util-linux* xserver-xorg*
  xserver-xorg-core* xserver-xorg-input-all* xserver-xorg-input-evdev*
  xserver-xorg-input-kbd* xserver-xorg-input-mouse*
  xserver-xorg-input-synaptics* xserver-xorg-input-wacom*
  xserver-xorg-video-all* xserver-xorg-video-apm* xserver-xorg-video-ark*
  xserver-xorg-video-ati* xserver-xorg-video-chips* xserver-xorg-video-cirrus*
  xserver-xorg-video-dummy* xserver-xorg-video-fbdev*
  xserver-xorg-video-geode* xserver-xorg-video-glint* xserver-xorg-video-i128*
  xserver-xorg-video-i740* xserver-xorg-video-intel*
  xserver-xorg-video-mach64* xserver-xorg-video-mga*
  xserver-xorg-video-neomagic* xserver-xorg-video-nouveau*
  xserver-xorg-video-openchrome* xserver-xorg-video-r128*
  xserver-xorg-video-radeon* xserver-xorg-video-rendition*
  xserver-xorg-video-s3* xserver-xorg-video-s3virge*
  xserver-xorg-video-savage* xserver-xorg-video-siliconmotion*
  xserver-xorg-video-sis* xserver-xorg-video-sisusb* xserver-xorg-video-tdfx*
  xserver-xorg-video-trident* xserver-xorg-video-tseng*
  xserver-xorg-video-vesa* xserver-xorg-video-via* xserver-xorg-video-vmware*
  xserver-xorg-video-voodoo*
The following NEW packages will be installed:
  makedev
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  e2fsprogs util-linux (due to e2fsprogs) tzdata (due to util-linux)
0 upgraded, 1 newly installed, 81 to remove and 0 not upgraded.
Need to get 42.4 kB of archives.
After this operation, 129 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 2:56 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
Booted into Puppeee 4 (persistent external SD flash card) to look and see the difference between /usr/share/zoneinfo directories. Big difference.

Puppeee /usr/share/zoneinfo

Attachment:
zoneinfopuppeee.png
zoneinfopuppeee.png [ 79.13 KiB | Viewed 7893 times ]


AntiX /usr/share/zoneinfo

Attachment:
zoneinfoantiX.png
zoneinfoantiX.png [ 585.18 KiB | Viewed 7893 times ]



:? Only Me. :roll:

Wondering if I can go to my AntiX 11 box or my EEEPC 701SD AntiX 8.5 install that dist-upgraded OK. Look in /usr/share/zoneinfo there. If it looks like Puppeee;s. Copy it to USB. Overwrite my /usr/share/zoneinfo folder with it. Then try update tzdata. Tomorrow. Laterz.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: dpkg: error processing /var/cache/apt/archives/tzdataSOL
PostPosted: Wed May 04, 2011 3:43 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4047
Location: Pecos, Texas
@#$%^& fdisk crashed on a ext2 file system check on reboot in AntiX. error 4 . ran a e2fsck after umount /dev/sda1 in limited init3 shell. Broke it. Grub 17 error after that. Gparted running Puppeee shows /dev/sda1 now as unknown file partiton. Broke it.

Guess I am off to AntiX 11. Fun and games with moving /home to secondary ssd. Just shoot me.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred