I was upgrading Linux Debian. Everything went ok until upgrade of dpkg.
After upgrading dpkg package I was not able to install anything, because of error with tar command.
Tar was complaining that –warning=no-timestamp is unkwnown parameter and program terminated with error.
So I made small trick. I renamed /bin/tar to /bin/tar.original:
mv /bin/tar /bin/tar.original
Then I wrote simple script into /bin/tar file:
#!/bin/bash tar.original xf -
Add permission:
chmod a+x /bin/tar
The last step is reinstallation of broken packages:
apt-get install --reinstall dpkg apt-get install --reinstall tar



4 Responses to “Debian – dpkg problem – tar exists on unknown argument —warning=no-timestamp”
Wow thank you. That worked!
Great solution. It worked for me too
Yes!!! I was stuck in an upgrade from (very)old-stable to testing…
Thank you !!
Not work for me. Im still facing same error.