Update Error via SVN from 1.2.0 to svn Version on Rspbian OS on pi3
-
Hi, i installed fog 1.2.0 on a raspian pi 3 with the stable 1.2.0 release.
Now i want upgrade the Version to the trunk Version but i got an error:
aading needed repository ----- FAILED!i have Internet Connection and i have no proxy
-
What’s the error in the error log? The folder for installer error logs is in bin/error_logs/fog_error_${versionInstalling}.log
-
/usr/bin/lsb_release
/bin/systemctl
grep: /opt/fog/.fogsettings: Datei oder Verzeichnis nicht gefunden
OK http://archive.raspbian.org jessie InRelease
OK http://mirrordirector.raspbian.org jessie InRelease
OK http://archive.raspberrypi.org jessie InRelease
OK http://archive.raspbian.org jessie/main Sources
OK http://mirrordirector.raspbian.org jessie/main armhf Packages
OK http://archive.raspbian.org jessie/contrib Sources
OK http://archive.raspbian.org jessie/non-free Sources
OK http://mirrordirector.raspbian.org jessie/contrib armhf Packages
OK http://archive.raspberrypi.org jessie/main armhf Packages
OK http://archive.raspbian.org jessie/rpi Sources
OK http://mirrordirector.raspbian.org jessie/non-free armhf Packages
OK http://archive.raspberrypi.org jessie/ui armhf Packages
OK http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-de_DE
Ign http://archive.raspberrypi.org jessie/main Translation-de
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-de_DE
Ign http://archive.raspberrypi.org jessie/ui Translation-de
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de_DE
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-de_DE
Ign http://mirrordirector.raspbian.org jessie/main Translation-de
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de_DE
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de_DE
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Paketlisten werden gelesen…
…/lib/common/functions.sh: Zeile 579: python-software-properties: Kommando nicht gefunden.
25 Apr 13:06:09 ntpdate[1824]: the NTP socket is in use, exiting
Generating locales (this might take a while)…
de_DE.ISO-8859-1… done
Generation complete.
Traceback (most recent call last):
File “/usr/bin/add-apt-repository”, line 167, in <module>
sp = SoftwareProperties(options=options)
File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 105, in init
self.reload_sourceslist()
File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 595, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File “/usr/lib/python3/dist-packages/aptsources/distro.py”, line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie -
@Mamu Well, the installer detects different distros (like debian, centos, arch linux) to be able to install the packages using the different package management tools on those systems. Seems like it does not properly detect debian on your raspbian system. DO you have the debian_version file?
cat /etc/debian_version
-
@Sebastian-Roth Good thinking. If we can get the installer to recognize Rasbian as Debian, then the installer should just work.
-
I have a Pi2 running raspbx. This is what I get when I cat that file.
# cat debian_version 8.0
-
@MaMu I think it wouldn’t take much to make the installer run for raspbian as well. I tried to get raspbian up in a QEMU VM but it’s not easy and I wasn’t successful yet (starts booting but ends up with a kernel panic) as I don’t have enough time to get into the details any further. Please help us by providing the information (content of
/etc/debian_version
)!PS: I just had the idea to simply loop mount the raspbian image instead of booting it and it actually has the file:
shell> kpartx -a -s -v 2016-03-18-raspbian-jessie-lite.img add map loop0p1 (254:0): 0 122880 linear /dev/loop0 8192 add map loop0p2 (254:1): 0 2527232 linear /dev/loop0 131072 shell> mkdir loop shell> mount /dev/mapper/loop0p2 loop/ shell> cat loop/etc/debian_version 8.0 shell> umount loop shell> kpartx -d 2016-03-18-raspbian-jessie-lite.img
So I am wondering if older versions did not have that file? Or if I am on the wrong track with what I thought is going wrong with our installer script(s).
-
In my opinion, we should only worry about the current version of Raspbian.