Hi Ben! Sorry, that sent accidentally. I'll give it a go. It was actually the ubuntugis unstable PPA which caused the current problem I'm having, so I'm keen to avoid that PPA if I can. I'll try your steps again and let you know what the outcome is.
Cheers, Jimi. On Tue, Feb 25, 2020 at 11:35 PM J. M <jimimc...@gmail.com> wrote: > Hi Ben! > > Thanks a lot for that, really helpful. Andre explained that the last time > I had a problem with the installation > > On Tue, Feb 25, 2020 at 4:44 AM Ben Hur Pintor <bnhr....@gmail.com> wrote: > >> Hi! >> >> First of all, make sure that you add the qgis.org repo public key >> via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key >> 51F523511C7028C3. Make sure that the library versions in your computer >> (specially GDAL and PROJ) are the same libraries that QGIS is built against. >> >> The links in >> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu >> determine >> which versions of QGIS will be installed. You add these as sources in the >> Software Center or you can add them directly in your /etc/apt/sources.list >> file as instructed in >> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu. >> If you want 3.12 (Latest Release), you can use/add the following in your >> /etc/apt/sources.list file https://qgis.org/ubuntu or >> https://qgis.org/ubuntugis (if with ubuntugis-unstable dependencies). >> If you want the LTR branch (3.10.3), simply use >> https://qgis.org/ubuntu-ltr or https://qgis.org/ubuntugis-ltr (if with >> ubuntugis-unstable dependencies) in your /etc/apt/sources.list file. >> >> Also, don't forget to remove/purge all previous QGIS or GRASS >> installations (e.g. sudo apt remove qgis grass qgis-plugin-grass) and do an >> update (sudo apt update) before trying to install QGIS again. >> >> I run Pop! OS 18.04 (based on Ubuntu 18.04). Unfortunately, the libraries >> in the main (universe) repo of Bionic are a bit outdated (GDAL 2.2.3, PROJ >> 4.9, etc.). The newer versions of QGIS use GDAL 3.0.X and PROJ 6.X. Using >> the ubuntugis-unstable ( >> https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable) PPA >> remedies the problem of some outdated libraries. If you will use the >> ubuntugis-unstable libraries, don't forget to add the PPA to your sources >> as well. On another note, PROJ 6.3.1, which QGIS 3.10.3 and 3.12 use, isn't >> available yet in Bionic even when using the ubuntugis PPA so even if I >> want, I can only install 3.10.2 right now on my machine. Trying to install >> 3.12 via the ubuntu or ubuntugis repo fails. >> >> >> All the best, >> Ben Hur >> >> On Tue, Feb 25, 2020, 07:25 J. M <jimimc...@gmail.com> wrote: >> >>> Hi Ismail, >>> >>> Well, I've tried everything I can think of, everything people have >>> recommended and everything I've googled, but there seems to be no earthly >>> way to get rid of the following error messages: >>> >>> sudo apt-get install qgis qgis-plugin-grass >>> Reading package lists... Done >>> Building dependency tree >>> Reading state information... Done >>> Some packages could not be installed. This may mean that you have >>> requested an impossible situation or if you are using the unstable >>> distribution that some required packages have not yet been created >>> or been moved out of Incoming. >>> The following information may help to resolve the situation: >>> >>> The following packages have unmet dependencies. >>> qgis : Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going >>> to be installed >>> E: Unable to correct problems, you have held broken packages. >>> >>> I've tried this: >>> >>> sudo apt-get purge qgis >>> sudo apt-get autoremove qgis >>> sudo apt-get --purge remove qgis >>> sudo apt-get update >>> >>> but it returned the following: >>> >>> sudo apt-get update >>> >>> >>> Hit:6 http://qgis.org/debian bionic InRelease >>> >>> The following signatures couldn't be verified because the public key >>> is not available: NO_PUBKEY 76F1A20FF987672F >>> Hit:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu >>> bionic InRelease >>> Err:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu >>> bionic InRelease >>> The following signatures couldn't be verified because the public key >>> is not available: NO_PUBKEY 089EBE08314DF160 >>> Reading package lists... Done >>> W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic >>> InRelease: The following signatures couldn't be verified because the public >>> key is not available: NO_PUBKEY 76F1A20FF987672F >>> E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic >>> InRelease' is not signed. >>> N: Updating from such a repository can't be done securely, and is >>> therefore disabled by default. >>> N: See apt-secure(8) manpage for repository creation and user >>> configuration details. >>> W: An error occurred during the signature verification. The repository >>> is not updated and the previous index files will be used. GPG error: >>> http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic >>> InRelease: The following signatures couldn't be verified because the public >>> key is not available: NO_PUBKEY 089EBE08314DF160 >>> >>> >>> I can't think of anything else. Any suggestions about what I might be >>> doing wrong? I don't actually understand what this link is for: >>> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu >>> If you download via the terminal by typing 'sudo apt-get install qgis' >>> then how do you make use of all the folders in this link? I mean, how do I >>> differentiate if I want to download version 3.10 or 3.12 of QGIS? >>> >>> Sorry team, I just can't get this to work and I'm worried I do >>> irreparable damage to my system with this process. >>> Please help me out, guys! >>> Cheers, >>> Jimi. >>> >>> >>> >>> On Mon, Feb 24, 2020 at 6:58 PM J. M <jimimc...@gmail.com> wrote: >>> >>>> Hi Ismail! >>>> >>>> Many thanks for your advice; I'll check it out. I haven't actually had >>>> a chance to sit down and try to purge QGIS and start again. Andre was >>>> trying to help me but I wasn't sure where to start so I haven't tried since >>>> I last inquired about the process! >>>> >>>> Thanks a lot, >>>> Jimi. >>>> >>>> On Sun, Feb 23, 2020 at 8:59 AM Ismail Sunni <imajimat...@gmail.com> >>>> wrote: >>>> >>>>> Hi Jimi, >>>>> >>>>> I have a similar problem. I fix it by reinstalling gdal (libgdal20). I >>>>> can install QGIS again after that. But, I am not an expert with this >>>>> package manager thing, so perhaps it can work for you also, or perhaps not >>>>> :) >>>>> >>>>> While trying to fix my problem, I found this >>>>> https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa >>>>> which >>>>> probably useful for you. >>>>> >>>>> Best regards >>>>> >>>>> On Thu, Feb 20, 2020 at 1:22 PM J. M <jimimc...@gmail.com> wrote: >>>>> >>>>>> Hi again Andre, >>>>>> >>>>>> Thanks for that, I more or less get what you mean. The problem is >>>>>> that when I ran autoremove it came back with almost a gig of dependencies >>>>>> it wanted to remove, so I cancelled it! QGIS wasn't the last program I >>>>>> installed so I have no idea how to purge only the dependencies directly >>>>>> related to the previous version of it I was running. If I run autoremove >>>>>> and it damages other applications or makes my system unusable then I >>>>>> won't >>>>>> be able to fix it (I'm only a user, I've got no background in >>>>>> programming). >>>>>> I read around and people warned strongly against doing this unless you're >>>>>> sure what you want to remove. How can I be sure I only remove the right >>>>>> dependencies? Does QGIS have a list or something I can use as a guide? >>>>>> >>>>>> If anyone could explain how to use Synaptic package manager then I'd >>>>>> be really grateful! It must have the most unintuitive interface of any >>>>>> piece of software I've ever tried to use.. >>>>>> >>>>>> I edited the source file last time I installed it, so that part is >>>>>> done. Incidentally, I don't see the 'other Software' tab in the Ubuntu >>>>>> Software Center, so I just edited it manually. Any idea what that package >>>>>> is called? I'm happy enough using the terminal if I know (roughly) what >>>>>> I'm >>>>>> doing! >>>>>> >>>>>> Thanks a lot team, >>>>>> Jimi. >>>>>> >>>>>> On Wed, Feb 19, 2020 at 8:18 PM Andre Joost < >>>>>> andre+jo...@nurfuerspam.de> wrote: >>>>>> >>>>>>> Am 18.02.20 um 23:58 schrieb J. M: >>>>>>> > Hi again Andre, >>>>>>> > >>>>>>> > I don't actually understand what to do with this, because I can't >>>>>>> run 'sudo >>>>>>> > apt-get install qgis qgis-plugin-grass' as it keeps giving me the >>>>>>> same >>>>>>> > error messages about broken packages. >>>>>>> >>>>>>> Yes, because you have packages that are compiled against a set of >>>>>>> libraries that does not match your computer. You have to remove, >>>>>>> autoremove and purge those QGIS packages to force a download from >>>>>>> the >>>>>>> right folder. >>>>>>> >>>>>>> >>>>>>> > When you say this, I don't get what this link does. I click on it >>>>>>> and it >>>>>>> > just takes me into a file hierarchy. Are users supposed to obtain >>>>>>> the >>>>>>> > downloads from here, or is it purely informative? >>>>>>> > Try >>>>>>> > deb https://qgis.org/ubuntugis bionic main >>>>>>> >>>>>>> That should go into your sources list, to replace the QGIS download >>>>>>> source you used before. The Ubuntu Software center has a tab for >>>>>>> "other >>>>>>> Software" that holds the same information, so no need to edit the >>>>>>> sources file manually. >>>>>>> >>>>>>> HTH, >>>>>>> Andre Joost >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Qgis-user mailing list >>>>>>> Qgis-user@lists.osgeo.org >>>>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>>>> >>>>>> _______________________________________________ >>>>>> Qgis-user mailing list >>>>>> Qgis-user@lists.osgeo.org >>>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>>> >>>>> >>>>> >>>>> -- >>>>> Ismail Sunni >>>>> Software Engineer >>>>> ismailsunni.id >>>>> ismailsunni.wordpress.com >>>>> >>>> _______________________________________________ >>> Qgis-user mailing list >>> Qgis-user@lists.osgeo.org >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >> >>
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user