You are not logged in.

#1 2019-08-13 21:26:11

Lilithet
Member
Registered: 2019-08-13
Posts: 4

Upgrading throws error

I am trying to upgrade The raspberry pi following the instructions at (can't post links so google: "how-to-install-use-the-raspberry-pi-camera")
Unfortunately I am getting an error during the "sudo apt-get upgrade" process. (I have also tried "sudo apt-get dist-upgrade") which reads as follows:

Setting up dhcpcd5 (1:6.11.5-1+rpt7) ...
chown: changing ownership of '/etc/dhcpcd.conf': Operation not permitted
dpkg: error processing package dhcpcd5 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dhcpcd5
E: Sub-process /usr/bin/dpkg returned an error code (1)

when looking at the file it shows the following:

lrwxrwxrwx 1 root root      22 Mar 20  2018 dhcpcd.conf -> /boot/nanodlp-dhcp.txt

What does the "->" mean?
and how can I fix this issue?

Offline

#2 2019-08-15 05:06:07

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Upgrading throws error

sudo rm /etc/dhcpcd.conf
sudo touch /etc/dhcpcd.conf

Offline

#3 2019-08-15 12:49:21

Lilithet
Member
Registered: 2019-08-13
Posts: 4

Re: Upgrading throws error

After doing that, neither upgrading nor updating works...

I have solved the issue by reinstalling the newest version of the nanoDPL image. Unfortunately the camera still does not work. "raspistill -o pic.jpg" does generate an image though, but the "take photo" does not, nor is the element <div class="image_enlarge embed-responsive-item"><img src="/static/shot.jpg?1565878334"></div> deliver anything.

Last edited by Lilithet (2019-08-15 14:13:06)

Offline

#4 2019-08-17 05:34:07

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Upgrading throws error

Have you checked out on screenhelp? It does require indication of the binary on newer version.

Offline

#5 2019-08-21 15:49:45

Lilithet
Member
Registered: 2019-08-13
Posts: 4

Re: Upgrading throws error

What do you mean "screenhelp" I am uncertain of what this is?
Thanks.

Offline

#6 2019-08-22 05:09:16

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Upgrading throws error

Question mark above input field related to this feature.

Offline

#7 2019-08-22 15:40:57

Lilithet
Member
Registered: 2019-08-13
Posts: 4

Re: Upgrading throws error

Ah, ok, yes, I have tried entering the full string as displayed in the help as well, this also does not seem to work

Offline

Board footer

Powered by FluxBB