[1] MLD-5.x / Systems / x86 Systeme (PC) / [gelöst] Update geht nicht: tar: unrecognized option '--warning=no-timestamp'
 

Offline pbriesch

  • MLD-Tester
  • Profi Member
  • ******
  • Posts: 440
    • View Profile
Hallo Jungs,

bei einem seit mehreren Wochen nicht mehr aktualisiertem System läuft der Update nicht mehr durch. Bei allen zu aktualisierenden Paketen kommt folgende Meldung wie bei diesem Paket:

Code: [Select]
Upgrade base
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
base
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0 B/374 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
base
Authentication warning overridden.
tar: unrecognized option '--warning=no-timestamp'
BusyBox v1.23.2 (2015-08-19 13:05:10 CEST) multi-call binary.

Usage: tar -[cxtzjhmvO] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:
c Create
x Extract
t List
f Name of TARFILE ('-' for stdin/out)
C Change to DIR before operation
v Verbose
z (De)compress using gzip
j (De)compress using bzip2
O Extract to stdout
h Follow symlinks
m Don't restore mtime

dpkg-deb: error: subprocess tar returned error exit status 1
dpkg: error processing archive /var/cache/apt/archives/base_0-94_amd64.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/base_0-94_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Gruß, Paul
« Last Edit: October 01, 2015, 23:38:11 by pbriesch »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20170
    • View Profile
    • ClausMuus.de
Hi,

Du meinst wohl eher, seit einigen Monaten nicht aktualisiert ;)

Erstelle Bitte die Datei /usr/bin/tar mit diesem Inhalt:
Code: [Select]
#!/bin/sh

busybox tar $(echo "$*" | sed "s/--warning\S*//")
und mache diese ausführbar.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline pbriesch

  • MLD-Tester
  • Profi Member
  • ******
  • Posts: 440
    • View Profile
 ;D

OK, waren wohl doch einige Wochen mehr...
Hat geklappt!

Bleibt die Datei tar nun so drin?

Gruß und Dank, Paul

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20170
    • View Profile
    • ClausMuus.de
ja, der Fehler tritt nur auf, wenn nach einer Änderung die ich vor einigen Monaten gemacht hatte, lange Zeit kein upgrade gemacht wurde. Die korrektur ist nach dem upgrade dauerhaft.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

[1] MLD-5.x / Systems / x86 Systeme (PC) / [gelöst] Update geht nicht: tar: unrecognized option '--warning=no-timestamp'
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.