Jump to content

[armbian-zsh_21.08.6_all.deb] [Odroid N2] : upgrade error (E: Sub-process /usr/bin/dpkg returned an error code (1))


maknho

Recommended Posts

Hello,

 

Ihave an Odroid N2 that run with armbian.

1) I can't upgrade armbian-zsh_21.08.6_all.deb

 

The output of apt upgrade is :

 

(Lecture de la base de données... 133099 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../armbian-zsh_21.08.6_all.deb ...
Dépaquetage de armbian-zsh (21.08.6) sur (21.08.5) ...
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/armbian-zsh_21.08.6_all.deb (--unpack) :
 impossible d'ouvrir « /etc/oh-my-zsh/plugins/osx/README.md.dpkg-new »: Aucun fichier ou dossier de ce
type
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/armbian-zsh_21.08.6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

2) Output of armbianmonitor -u : http://ix.io/3G3N

 

Any tips or things to do.

 

Thanks by advance
 

Link to comment
Share on other sites

  • maknho changed the title to [armbian-zsh_21.08.6_all.deb] [Odroid N2] : upgrade error (E: Sub-process /usr/bin/dpkg returned an error code (1))

I have the samo error on Odroid xu4

Armbian 21.08.6 Buster with Linux 5.4.160-odroidxu4

 

odroidxu4:~:# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  armbian-zsh
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3013 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 58064 files and directories currently installed.)
Preparing to unpack .../armbian-zsh_21.08.6_all.deb ...
Unpacking armbian-zsh (21.08.6) over (21.08.5) ...
dpkg: error processing archive /var/cache/apt/archives/armbian-zsh_21.08.6_all.deb (--unpack):
 unable to open '/etc/oh-my-zsh/plugins/osx/README.md.dpkg-new': No such file or directory
cp: cannot create directory '/home/server/.oh-my-zsh': No such file or directory
cp: cannot create regular file '/home/server/.zshrc': No such file or directory
chown: cannot access '/home/server/.oh-my-zsh': No such file or directory
chown: cannot access '/home/server/.zshrc': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/armbian-zsh_21.08.6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines