UberStudent Forums
http://uberstudent.com/phpBB/

uberstudentsources && uberstudentupdate unmet dependencies
http://uberstudent.com/phpBB/viewtopic.php?f=5&t=1262
Page 1 of 1

Author:  Bryce Carson [ Sun Oct 30, 2016 5:35 am ]
Post subject:  uberstudentsources && uberstudentupdate unmet dependencies

I have tried following the suggestion of the output, and to no avail I cannot upgrade several of the packages listed with:
Code:
sudo apt list --upgradable
even with the -f option for apt-get install.
I made use of the Software System Fixer without success; upon attempting an upgrade, the two uberstudent packages still have unmet dependencies and conflicts which I cannot seem to resolve on my own.

Attachments:
APT Upgrade Error.png
APT Upgrade Error.png [ 83.1 KiB | Viewed 12479 times ]

Author:  Stephen Ewen [ Sun Oct 30, 2016 8:50 am ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

I'll look into this and post again shortly.

Author:  Stephen Ewen [ Sun Oct 30, 2016 6:00 pm ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

This make no sense if you are using the uberstudent.net repository with UberStudent 4.*. Those packages that are conflicting are part of a normal Ubuntu installation but are not part of the 4.* installation and are made to conflict for very good reason. They conflict with much more than just the base packages of uberstudentupdate and uberstudentsources:
Code:
uberstudent@uberstudent-MS-7599:~/Desktop$ sudo apt-get install python3-distupgrade
[sudo] password for uberstudent:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python3-update-manager
The following packages will be REMOVED:
  firefox-meta-uberstudent-en lyx-meta-uberstudent-en-us set-fastest-mirror
  thunar-custom-actions-root uberstudent-compositing-xfce
  uberstudent-desktop-xfce uberstudent-xfce-default-settings-enduser
  uberstudent-xfce-default-settings-helper uberstudentsources
  uberstudentupdate uberstudentupdate-rules uberstudentwelcome zotero-firefox
The following NEW packages will be installed:
  python3-distupgrade python3-update-manager
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  uberstudentsources set-fastest-mirror (due to uberstudentsources)
0 upgraded, 2 newly installed, 13 to remove and 23 not upgraded.
Need to get 136 kB of archives.
After this operation, 51.4 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?]
The solution is simple. They must be removed.
Code:
sudo apt-get purge python3-distupgrade python3-update-manager ubuntu-release-upgrader ubuntu-manager-core

Author:  Bryce Carson [ Sun Oct 30, 2016 8:21 pm ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

Interestingly, after purging the conflicting packages I receive the same error. I checked the dependencies for uberstudentsources, and update-manager-core is listed as a forward dependency. With the conflicting packages purged, shouldn't the conflict be resolved when attempting an upgrade?
Thanks for your help Stephen, please let me know what information you may need from me to help resolve the conflicts and unmet dependencies.

Author:  Stephen Ewen [ Sun Oct 30, 2016 10:15 pm ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

ubuntu-manager-core is not a dependency but is declared under Replaces in the control file.

Let's try this. Open a terminal and run the following lines, one at a time:
Code:
mkdir "$HOME/Desktop/debs"
cd "$HOME/Desktop/debs"
wget http://uberstudent.net/pool/main/u/uberstudentupdate-rules/uberstudentupdate-rules_4.9.3.3_all.deb
wget http://uberstudent.net/pool/main/u/uberstudentupdate/uberstudentupdate_4.9.3.3_all.deb
wget http://uberstudent.net/pool/main/u/uberstudentsources/uberstudentsources_1.5.0.8_all.deb
wget http://uberstudent.net/pool/main/u/uberstudentsources-helper/uberstudentsources-helper_1.5.0.3_all.deb
sudo dpkg --force-all -i *.deb
rm -r "$HOME/Desktop/debs"
sudo apt-get update
Afterward, if there are no errors, attempt to update from the Update Manager

Author:  Bryce Carson [ Sun Oct 30, 2016 11:38 pm ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

No errors were received following the suggested commands; when updating with the update manager, no available updates are found, nor are any errors encountered. To see if the original error persisted, I tried and sudo apt upgrade and the original unmet dependency & conflict still exists. I have used the purge command again, as recommended to determine if the packages have been reinstalled, and none of the previously purged packages are installed on the system.
Is it possible to determine which package is requesting the conflicting softwares when performing a package upgrade?
Running the following command gives me the attached list of available package upgrades.
Code:
clear && apt list --upgradable


Attachments:
Upgradable.png
Upgradable.png [ 741.65 KiB | Viewed 12466 times ]

Author:  Stephen Ewen [ Mon Oct 31, 2016 5:09 pm ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

Ah. I somehow missed that you're using apt-get upgrade and not just installing packages.

First, no matter what you might have learned before, apt-get upgrade is a HORRIBLE way to upgrade any Debian-based system. Expect destabilization.

Second, the Update Manager is correct. Your system is upgraded. Use the Update Manager. It's there for a reason. Expect stabilization.

I have no idea why apt list --upgradable does what you showed. Look carefully at the version numbers. None of those are new versions. Nothing is actually upgradable.

Author:  Bryce Carson [ Mon Oct 31, 2016 10:39 pm ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

Ah, thank you. I can guess why apt upgrades would destabilise my system. I haven't experienced any system hangs or other issues, so I will cease using apt to upgrade my system manually; I'll stick with the Uberstudent Update Manager. I guess I wanted to feel like more of a power user than I really am! :ugeek: In the future I'll use the included software repositories to discover new software, unless it is unavailable; if unavailable, should I ask on the forums if there have been any stability tests done before I try installing software with apt or .deb packages?

Author:  Stephen Ewen [ Tue Nov 01, 2016 8:15 am ]
Post subject:  Re: uberstudentsources && uberstudentupdate unmet dependenci

See http://uberstudent.com/wiki/index.php?t ... berStudent for what we think is really smart advise on your question.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/