I followed rsync instruction to create a repo - can't update X packages from it












1















I ran this command to create my local repo:



rsync -av rsync://archive.ubuntu.com/ubuntu/pool/ /ubuntu/ubuntu-mirror/pool/


I've set my sources.list file to look at it:



deb [trusted=yes]  http://ubuntu-mirror/ubuntu bionic main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-backports main restricted universe multiverse


I've run the apt-get update and apt-get upgrade, packages update just fine.
However, if I try something like apt-get install gdm3 I end up in dependency hell. I get messages like



gdm3: Depdends: gnome-shell (>= 3.19.92) but it is not going to be installed


walking the dependency tree reveals more of the same. As it turns out, I have gnome_shell starting at 3.26.1, but nothing as old as the install dvd.



I installed from the 18.04.1 LTS server. Question is, how do I get an ubuntu local repo that has the right stuff so I can install these packages?










share|improve this question

























  • So I found some new info - perhaps my universe repository isn't enabled. There's a command, but I have to install software-properties-common to get add-apt-repository... guess what, dependencies like above prevent me from doing this. It tries to download unattended-upgrades_1.1ubuntu1.18.04.7_all.deb which doesn't exist. 18.04.8 does, and so does unattended-upgrades_1.1ubuntu1.18.04.7~16.04.1_all.deb.

    – rory toma
    Jan 25 at 1:30
















1















I ran this command to create my local repo:



rsync -av rsync://archive.ubuntu.com/ubuntu/pool/ /ubuntu/ubuntu-mirror/pool/


I've set my sources.list file to look at it:



deb [trusted=yes]  http://ubuntu-mirror/ubuntu bionic main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-backports main restricted universe multiverse


I've run the apt-get update and apt-get upgrade, packages update just fine.
However, if I try something like apt-get install gdm3 I end up in dependency hell. I get messages like



gdm3: Depdends: gnome-shell (>= 3.19.92) but it is not going to be installed


walking the dependency tree reveals more of the same. As it turns out, I have gnome_shell starting at 3.26.1, but nothing as old as the install dvd.



I installed from the 18.04.1 LTS server. Question is, how do I get an ubuntu local repo that has the right stuff so I can install these packages?










share|improve this question

























  • So I found some new info - perhaps my universe repository isn't enabled. There's a command, but I have to install software-properties-common to get add-apt-repository... guess what, dependencies like above prevent me from doing this. It tries to download unattended-upgrades_1.1ubuntu1.18.04.7_all.deb which doesn't exist. 18.04.8 does, and so does unattended-upgrades_1.1ubuntu1.18.04.7~16.04.1_all.deb.

    – rory toma
    Jan 25 at 1:30














1












1








1








I ran this command to create my local repo:



rsync -av rsync://archive.ubuntu.com/ubuntu/pool/ /ubuntu/ubuntu-mirror/pool/


I've set my sources.list file to look at it:



deb [trusted=yes]  http://ubuntu-mirror/ubuntu bionic main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-backports main restricted universe multiverse


I've run the apt-get update and apt-get upgrade, packages update just fine.
However, if I try something like apt-get install gdm3 I end up in dependency hell. I get messages like



gdm3: Depdends: gnome-shell (>= 3.19.92) but it is not going to be installed


walking the dependency tree reveals more of the same. As it turns out, I have gnome_shell starting at 3.26.1, but nothing as old as the install dvd.



I installed from the 18.04.1 LTS server. Question is, how do I get an ubuntu local repo that has the right stuff so I can install these packages?










share|improve this question
















I ran this command to create my local repo:



rsync -av rsync://archive.ubuntu.com/ubuntu/pool/ /ubuntu/ubuntu-mirror/pool/


I've set my sources.list file to look at it:



deb [trusted=yes]  http://ubuntu-mirror/ubuntu bionic main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates main restricted
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates universe
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-updates multiverse
deb [trusted=yes] http://ubuntu-mirror/ubuntu bionic-backports main restricted universe multiverse


I've run the apt-get update and apt-get upgrade, packages update just fine.
However, if I try something like apt-get install gdm3 I end up in dependency hell. I get messages like



gdm3: Depdends: gnome-shell (>= 3.19.92) but it is not going to be installed


walking the dependency tree reveals more of the same. As it turns out, I have gnome_shell starting at 3.26.1, but nothing as old as the install dvd.



I installed from the 18.04.1 LTS server. Question is, how do I get an ubuntu local repo that has the right stuff so I can install these packages?







repository






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 25 at 0:13









Terrance

19.5k34797




19.5k34797










asked Jan 24 at 23:54









rory tomarory toma

262




262













  • So I found some new info - perhaps my universe repository isn't enabled. There's a command, but I have to install software-properties-common to get add-apt-repository... guess what, dependencies like above prevent me from doing this. It tries to download unattended-upgrades_1.1ubuntu1.18.04.7_all.deb which doesn't exist. 18.04.8 does, and so does unattended-upgrades_1.1ubuntu1.18.04.7~16.04.1_all.deb.

    – rory toma
    Jan 25 at 1:30



















  • So I found some new info - perhaps my universe repository isn't enabled. There's a command, but I have to install software-properties-common to get add-apt-repository... guess what, dependencies like above prevent me from doing this. It tries to download unattended-upgrades_1.1ubuntu1.18.04.7_all.deb which doesn't exist. 18.04.8 does, and so does unattended-upgrades_1.1ubuntu1.18.04.7~16.04.1_all.deb.

    – rory toma
    Jan 25 at 1:30

















So I found some new info - perhaps my universe repository isn't enabled. There's a command, but I have to install software-properties-common to get add-apt-repository... guess what, dependencies like above prevent me from doing this. It tries to download unattended-upgrades_1.1ubuntu1.18.04.7_all.deb which doesn't exist. 18.04.8 does, and so does unattended-upgrades_1.1ubuntu1.18.04.7~16.04.1_all.deb.

– rory toma
Jan 25 at 1:30





So I found some new info - perhaps my universe repository isn't enabled. There's a command, but I have to install software-properties-common to get add-apt-repository... guess what, dependencies like above prevent me from doing this. It tries to download unattended-upgrades_1.1ubuntu1.18.04.7_all.deb which doesn't exist. 18.04.8 does, and so does unattended-upgrades_1.1ubuntu1.18.04.7~16.04.1_all.deb.

– rory toma
Jan 25 at 1:30










1 Answer
1






active

oldest

votes


















0














I resynced it with:



 rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu /ubuntu/ubuntu-mirror2/


So far, this is working. Perhaps some symlinks or timestamps were not correct.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112655%2fi-followed-rsync-instruction-to-create-a-repo-cant-update-x-packages-from-it%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I resynced it with:



     rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu /ubuntu/ubuntu-mirror2/


    So far, this is working. Perhaps some symlinks or timestamps were not correct.






    share|improve this answer




























      0














      I resynced it with:



       rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu /ubuntu/ubuntu-mirror2/


      So far, this is working. Perhaps some symlinks or timestamps were not correct.






      share|improve this answer


























        0












        0








        0







        I resynced it with:



         rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu /ubuntu/ubuntu-mirror2/


        So far, this is working. Perhaps some symlinks or timestamps were not correct.






        share|improve this answer













        I resynced it with:



         rsync --recursive --links --perms --times --compress --progress --delete rsync://archive.ubuntu.com/ubuntu /ubuntu/ubuntu-mirror2/


        So far, this is working. Perhaps some symlinks or timestamps were not correct.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 25 at 22:02









        rory tomarory toma

        262




        262






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112655%2fi-followed-rsync-instruction-to-create-a-repo-cant-update-x-packages-from-it%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀