Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
sunrat wrote:It seems you may have multiple problems here so you may have to work through them one at a time.
jacky1980 wrote:You are probably right. I thought there might be some easy way to reset apt-get using a live cd or files from the internet, so I can install other packages again. I didn't add any repositories. afaik it came preinstalled with the ubuntu wine repositories. I was able to download packages before just fine. Maybe there was a mismatch between my old debian version and the ubuntu wine repository.
Raspbian Jessie or whatever unofficial Debian spin it is—run-wine-on-raspberry-pi—is not a Debian release and as other forum members have commented is quite old based, as it is, on Debian Jessie, which is now oldoldstable. You might like to consider installing Buster as detailed, for example at itsfoss.com/debian-raspberry-pi.
Adding unofficial third-party repositories and installing their packages, apart from any security concerns, may cause breakage so they should be replaced with the official ones provided by Debian. But I think that Raspbian is probably a better choice if your main interest is running wine programs and applications.
pi@raspberrypi:/ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
systemd : Depends: libsystemd0 (= 215-17+deb8u2) but 215-17+deb8u13 is installed
Recommends: libpam-systemd but it is not installed
systemd-sysv : Depends: systemd (= 215-17+deb8u7) but 215-17+deb8u2 is installed
E: Unmet dependencies. Try using -f.
I think I need the systemd package before I can use apt-get for anything else .
The reason why I run the old stable version is because of the emulated x86 architecture. It is the only image currently supportex by exagear. It doesn't look like there will be an update soon. I was able to install other packages before wine just fine. Maybe the reason is because wine is from a different source (ubuntu).
kedaha wrote:The PPAs are likely the culprit and may have broken the system but, assuming you also have aptitude installed, what does this command show?
pi@raspberrypi:/ $ aptitude search '?narrow(?installed, ~Oppa)'
bash: aptitude: command not found
Sorry I didn't have aptitude installed. There is no way to install new packages at the moment. Everything else is running fine. Maybe I can edit the PPA files from outside the debian image. I have full access to all files inside the Debian8 with my Raspbian distro.
Looks like there's a mismatch between the installed version of systemd:
Installed: 215-17+deb8u2
Candidate: 215-17+deb8u7
And libsystemd0
Installed: 215-17+deb8u13
You can confirm this with the command:
The current installed versions should be identical.
And, while you are about it, unless you have cleaned out the cache, see if you have the previous version of libsystemd0
/var/cache/apt/archives $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
systemd
Suggested packages:
systemd-ui
Recommended packages:
libpam-systemd
The following packages will be upgraded:
systemd
1 upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
Need to get 0 B/2574 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 15446 files and directories currently installed.)
Preparing to unpack .../systemd_215-17+deb8u7_i386.deb ...
Unpacking systemd (215-17+deb8u7) over (215-17+deb8u2) ...
dpkg: error processing archive /var/cache/apt/archives/systemd_215-17+deb8u7_i386.deb (--unpack):
error creating directory `./etc/systemd/user': Not a directory
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
Processing triggers for dbus (1.8.22-0+deb8u1) ...
Errors were encountered while processing:
/var/cache/apt/archives/systemd_215-17+deb8u7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It's an emulated environment for the i386 architecture. The x86 packages are correct (see screenshot) https://i.imgur.com/cgtX1UJ.jpg . I specifically want to be able to run x86 applications otherwise not supported on the ARM architecture.