LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2014, 01:13 PM   #1
a.albreiki
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Rep: Reputation: 0
Problem when use apt-get install (Debian)


I'm facing problem when i trying to install any package using apt-get. I used Debian Linux OS



such as apt-get install bzip2

I got erorrs
PHP Code:
Reading package lists... Done
Building dependency tree
... Done
The following extra packages will be installed
:
  
libbz2-1.0 libc6 libc6-i386 locales multiarch-support tzdata
Suggested packages
:
  
bzip2-doc glibc-doc
The following 
NEW packages will be installed:
  
bzip2 multiarch-support
The following packages will be upgraded
:
  
libbz2-1.0 libc6 libc6-i386 locales tzdata
5 upgraded
2 newly installed0 to remove and 272 not upgraded.
Need to get 0B/11.6MB of archives.
After unpacking 6072kB of additional disk space will be used.
Do 
you want to continue [Y/n]? Y
WARNING
The following packages cannot be authenticated!
  
tzdata libc6-i386 locales libc6 multiarch-support libbz2-1.0 bzip2
Install these packages without verification 
[y/N]? y
Preconfiguring packages 
...
(
Reading database ... 24677 files and directories currently installed.)
Preparing to replace tzdata 2007b-(using .../tzdata_2014b-1_all.deb) ...
Unpacking replacement tzdata ...
dpkg-debfile `/var/cache/apt/archives/tzdata_2014b-1_all.deb' contains ununderstood data member data.tar.xz     , giving up
dpkg: error processing /var/cache/apt/archives/tzdata_2014b-1_all.deb (--unpack):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/tzdata_2014b-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) 
I tried to change several source lists and make
- apt-get clean && apt-get update
- apt-get upgrade
Without any little benefit, Please could advice
 
Old 04-11-2014, 01:23 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You might try reinstalling the tzdata package and see if that solves the problem (apt-get --reinstall ....)
jdk
 
Old 04-12-2014, 04:31 AM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by a.albreiki View Post
I'm facing problem when i trying to install any package using apt-get. I used Debian Linux OS

such as apt-get install bzip2

I got erorrs
Looking at the output of apt-get that you posted, I'm taken aback by two lines:

Code:
5 upgraded, 2 newly installed, 0 to remove and 272 not upgraded.
and

Code:
Preparing to replace tzdata 2007b-1 (using .../tzdata_2014b-1_all.deb) ...
I'm beginnig to suspect that your system is hopelessly outdated. The first line tells that there are 272 packages that could be updated (and probably should), but you don't let them. Why?
And then there's the fact that apt-get is about to replace a 2007 version of the tzdate package with a brand-new one. I can't be sure, but it looks to me like you installed Debian 4.0 "Etch" many years ago and never kept it up to date, and now you're trying to update a single package from the Wheezy repository. Expecting this to work is against all odds. It's too likely that the new package has dependencies with others that your old configuration can't satisfy.

So ... it's hard for me to tell you, but the best recommendation I can give you under the circumstances is to make a full backup of your data, and then do a clean, fresh install of an up-to-date system - probably Debian 7 "Wheezy".

[X] Doc CPU


PS: The output of shell commands has nothing to do with PHP code. Why the heck do you mark it as that?
 
1 members found this post helpful.
Old 04-14-2014, 06:49 AM   #4
a.albreiki
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Problem (Fixed)

Thanks for all, as (Doc CPU) said the problem was in Debian 4.0 "Etch" which is very old Debian version, Fortunately there is an initiative which keeps old Debian distribution archives available - Debian archive (www.debian.org/distrib/archive). So the following line added to the source list /etc/apt/sources.list which is solved the problem..

deb http://archive.debian.org/debian/ etch contrib main non-free


Thanks again,,
 
Old 04-15-2014, 01:26 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Glad to hear that.
As a service to others please mark this thread as solved by using the Thread Tools menu above your first post. Thanks,
jdk
 
Old 04-16-2014, 01:05 AM   #6
a.albreiki
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jdkaye View Post
Glad to hear that.
As a service to others please mark this thread as solved by using the Thread Tools menu above your first post. Thanks,
jdk

Thanks a lot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get has unmet dependencies, but apt-get -f install doesn't solve problem sophanox Linux - Software 1 02-23-2011 11:07 AM
Debian apt-get install question bluehaze Linux - Newbie 2 09-18-2008 01:38 PM
apt-get update and apt-get install problem please solve it. regent_royal Linux - Newbie 11 06-26-2008 08:38 AM
Problem while apt-get update on debian etch, cannot reach security.debian.org sarajevo Debian 4 06-08-2008 12:59 PM
debian - ndiswrapper cant install via apt AM1SHFURN1TURE Linux - Wireless Networking 2 07-19-2005 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration