This forum has been archived. All content is frozen. Please use KDE Discuss instead.

update

Tags: None
(comma "," separated)
sskyatmo
Registered Member
Posts
33
Karma
0

update

Wed Jan 02, 2019 11:15 pm
Happy new year,

yesterday my system kde 514 told me it is going to invite me to have an update to 18.4.
I wanted to wait till night time because three Gb is a lot of data.
Now, in between, the macbook went to sleep and after I woke it up at night time it only offered me 1965 or so files to update.
Clicking on it resulted in the Task % flashing only for a fraction of a second and then nothing.
Does that mean I have to delete the whole partition for KDE, loose all the data in the process,
and install the new system?
I would prefer to find a way to do the changeover via update.

Thanks for any advice,

cheers,

Atmo
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: update

Thu Jan 03, 2019 4:00 pm
I am sure nothing so harsh is needed. Which exact distribution are you talking about here? You only give numbers which is not enough to know what exact distribution you have. Also how do you upgrade, with Discover or anything else?

Running an update on the command line in this particular case might me more advisable, as you would at least see some meaningful error messages, but again, since I don't know which kind of package system you use we need more information from you.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Thu Jan 03, 2019 7:46 pm
Hallo,

I am using KDE Neon 5.14.0
The system is checking for updates automatically once I open software center and discover.
Also I always kept the system updated.
My guess is that 1924 files are just to much to handle.
Further, when discover tries to start the update, a message box appears telling me that I have several strings of Google earth installed which never worked anyway.
I know you shouldn't let anything Microsoft or Google on your System, but now that's what it is.

Thanks,

Atmo
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: update

Sat Jan 05, 2019 1:07 pm
No, that many files should be quite easy to handle, how about running this from a konsole:
Code: Select all
sudo apt update && sudo apt upgrade

This should give you a more detailed output telling you if there are errors.
Most errors can be solved by running this:
Code: Select all
sudo dpkg --configure -a

If the laptop going to sleep causes a problem, you can disable the power save mode beforehand.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Sat Jan 05, 2019 9:56 pm
Good day Mamorok,

thanks a lot, will work on it straight away.

Cheers,

Atmo :)
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Sat Jan 05, 2019 11:27 pm
Good morning Mamorok,

yes, Sudo command offered its brains, or rather komplex issues.
I'll try to past....:
Code: Select all
x@x:~$ sudo apt update && sudo apt update
[sudo] password for x:
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease                           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]           
Hit:3 http://kh.archive.ubuntu.com/ubuntu bionic InRelease                             
Get:4 http://kh.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]           
Hit:5 http://dl.google.com/linux/earth/deb stable Release                             
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Get:8 http://kh.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]         
Get:9 http://archive.neon.kde.org/user bionic InRelease [19.0 kB]           
Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [14.8 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [39.7 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 128x128 Icons [53.3 kB]
Get:13 http://kh.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [245 kB]
Get:14 http://kh.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [105 kB]
Get:15 http://kh.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 128x128 Icons [256 kB]
Get:16 http://kh.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [200 kB]
Get:17 http://kh.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [284 kB]
Get:18 http://kh.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 128x128 Icons [770 kB]
Get:19 http://kh.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:20 http://kh.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,816 B]
Fetched 2,242 kB in 5s (382 kB/s)                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1927 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://kh.archive.ubuntu.com/ubuntu bionic InRelease                             
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                     
Hit:4 http://kh.archive.ubuntu.com/ubuntu bionic-updates InRelease                     
Hit:5 http://dl.google.com/linux/earth/deb stable Release                             
Get:7 http://archive.neon.kde.org/user bionic InRelease [19.0 kB]     
Hit:8 http://kh.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 19.0 kB in 3s (5,287 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1927 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
x@x:~$ sudo dpkg --configure -a
x@x:~$ sudo apt update && sudo apt update
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                     
Hit:3 http://kh.archive.ubuntu.com/ubuntu bionic InRelease                             
Hit:4 http://dl.google.com/linux/earth/deb stable Release                             
Hit:5 http://kh.archive.ubuntu.com/ubuntu bionic-updates InRelease     
Hit:7 http://kh.archive.ubuntu.com/ubuntu bionic-backports InRelease     
Get:8 http://archive.neon.kde.org/user bionic InRelease [19.0 kB]
Fetched 19.0 kB in 1s (10.1 kB/s)                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1927 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://kh.archive.ubuntu.com/ubuntu bionic InRelease                             
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                     
Hit:4 http://kh.archive.ubuntu.com/ubuntu bionic-updates InRelease                     
Hit:5 http://dl.google.com/linux/earth/deb stable Release                             
Hit:7 http://kh.archive.ubuntu.com/ubuntu bionic-backports InRelease   
Get:8 http://archive.neon.kde.org/user bionic InRelease [19.0 kB]
Fetched 19.0 kB in 1s (10.2 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1927 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d/google-earth.list:3
x@x:~$ sudo dpkg --configure -a
[sudo] password for x:
x@x:~$ sudo dpkg --configure -a
x@x:~$

Great, that worked...., as you see, the dpkg command did nothing, the other one mainly complaining about Google... (who doesn't?)

Would there be a way to delete Google? Maybe the updater is working after that, if I am lucky....

Have a nice day,

regards,

Atmo

Moderator Edit: setting code flags to make this scrollable
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: update

Sun Jan 06, 2019 9:53 pm
You must have installed the Google thing from a different source, so if it is a .deb package running dpkg <packagename> --deinstall , replacing <packagename> by the exact name of that google package should just do the trick.

If on the other nad you have installed it with a shell script, you would have to check the instructions from that script, usually there should also be an option to uninstall something.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Mon Jan 07, 2019 7:57 am
Thanks Mamarok,

Google Earth came from Google Earth Website. For Linux/Ubuntu, so they state..
My System does not recognize dpkg deinstall command.

x@x:~$ dbkg http://dl.google.com/linux/earth/deb -deinstall
No command 'dbkg' found, did you mean:
Command 'dpkg' from package 'dpkg' (main)
dbkg: command not found
x@x:~$ http://dl.google.com/linux/earth/deb
bash: http://dl.google.com/linux/earth/deb: No such file or directory
x@x:~$

Gruesse,

Atmo
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Mon Jan 07, 2019 8:20 am
P.s.

since I cannot do updates anymore and neither delete partially installed Programms ( no uninstallers available..) which jam the OS it might be better to get my files on a stick and try to reinstall the newest version of KDE as stated in the update which crashed my system. Updates installed perfectly fine before, even with the dreadful Google
Earth tries.
Problem is, I do really need Google Earth, but if it destroys Linux based Os I don't know what to do. ( Google opened but did not work...)
Marbel didn't do it for me, it doesn't have the features I need.

Thank you very much again for your help,

Atmo

x@x:~$ dbkg http://dl.google.com/linux/earth/deb -deinstall
No command 'dbkg' found, did you mean:
Command 'dpkg' from package 'dpkg' (main)
dbkg: command not found
x@x:~$ http://dl.google.com/linux/earth/deb
bash: http://dl.google.com/linux/earth/deb: No such file or directory
x@x:~$ dpkg google-earth-pro.list:3 -deinstall
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
x@x:~$ dpkg help
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
x@x:~$ dpkg-help
dpkg-help: command not found
x@x:~$ dpkg-- help
dpkg--: command not found
x@x:~$
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: update

Mon Jan 07, 2019 10:41 am
no, you misunderstand the <packagename> part: there you have to type the name of the .deb file you downloaded, not the link to the download :-)


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: update

Mon Jan 07, 2019 7:51 pm
I believe the command to remove a package is: (sudo) dpkg <package_name> --remove (not -deinstall). Or you could use (sudo) apt remove <package_name>
(for getting help on a command, you put the space between the command name and the dashes: dpkg --help. For reading the text manual for a command use: man <command> e.g. man dpkg)

I also wonder if KDE's Marble would be insufficient for your needs?


airdrik, proud to be a member of KDE forums since 2008-Dec.
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Tue Jan 08, 2019 3:20 am
Hi Guys,

thanks a lot for your help.
Neither remove or delete work.
dpkg help is also not available.
Guess I am running out of options here....

Marble is really nice, but satellite view is very basic and especially using kmz list waypoints is not an option.
The option to include maps is fantastic though.

x@x:~$ dpkg
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
x@x:~$ dpkg google-earth-pro-stable_current.amd64deb-remove
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
x@x:~$ dbkg http://dl.google.com/linux/earth/deb -deinstall
No command 'dbkg' found, did you mean:
Command 'dpkg' from package 'dpkg' (main)
dbkg: command not found
x@x:~$ y
y: command not found
x@x:~$
x@x:~$
x@x:~$ dpkg google-earth-pro-stable_current.amd64deb-remove
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
x@x:~$ dpkg help
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
x@x:~$
User avatar
kdeoldster
Registered Member
Posts
61
Karma
0
OS

Re: update

Tue Jan 08, 2019 5:45 am
x@x:~$ dpkg google-earth-pro-stable_current.amd64deb-remove
dpkg: error: need an action option


It seems that you aren't that familiar (none of us were at first) with commandline and should take a few minutes to discover the basics. The correct dpkg command would be:
Code: Select all
sudo dpkg -r [package-name]
Which in your case would be:
Code: Select all
sudo dpkg -r google-earth-pro-stable_current.amd64deb



https://www.howtoforge.com/linux-dpkg-command/

It is much easier to use apt/apt-get or the pkcon commands if you don't have a working package manager,ie, Discover, Muon, Synaptic.
sskyatmo
Registered Member
Posts
33
Karma
0

Re: update

Tue Jan 08, 2019 8:13 pm
Hi,

thanks again, that did something:

x@x:~$ sudo dpkg -r google-earth-pro-stable_current.amd64deb
[sudo] password for x:
dpkg: warning: ignoring request to remove google-earth-pro-stable_current.amd64deb which isn't installed
x@x:~$

So it claims Google earth is not installed but system is still blocking an update due to multiple google earth installs.
I did try to get Google Earth working on KDE a few month ago but never succeeded to get it working properly.
There are no files about it in my download folder either.
When I start Earth, it fires up to half the frame and then stops.
The issue with the updates only started with the big one a few days ago.
Before it updated fine with discover.
Tricky stuff that is.....



Cheers,


Atmo
NoNameNoBlame
Karma
0

Re: update

Wed Jan 09, 2019 1:16 am
1.
Package Names end in .deb
You have a typo in Your example.

2.
Change to root-user:
$ sudo -i

Do:
# apt search earth 2>/dev/null | grep inst

Result will be:
blalagoogleearthblabla…

Then do:
# apt remove blalagoogleearthblabla…

Lastly:
# exit

Should work.

Example:
$ apt search wget 2>/dev/null | grep inst
wget/bionic-updates,bionic-security,now 1.19.4-1ubuntu2.1 amd64 [installed]

To remove it:
# apt remove wget

Don't do this. It's an only example, not an instruction.
But You get the idea.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]