Jump to content


Photo

Help to remove Oscam completely


  • Please log in to reply
36 replies to this topic

#1 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 09:12

hi!

 

I can't remove Oscam, it does not appear on the list of installed plugins..

 
I can't remove oscam, I tried all the procedures but they didn't work, when I try to install the new oscam it always tells me it's already installed

 

 

1) opkg remove enigma2-softcam-oscam

 

2) opkg remove enigma2-softcams-oscam-all-images

 

delete:

 

usr / bin oscam
etc / tuxbox / config delete oscam folder
etc / initd oscam script

 

 

any suggestions? thx!

 

 

 



Re: Help to remove Oscam completely #2 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 13 June 2023 - 11:04

Hi,

first you should check with

 

opkg list-installed | grep oscam

 

what you have installed.

 

Ralf



Re: Help to remove Oscam completely #3 s3n0

  • Senior Member
  • 673 posts

+62
Good

Posted 13 June 2023 - 11:36

Hi.

 

First, check if any packages containing the text "cam" are installed:

opkg list-installed | grep -i "cam"

 

If so, then you uninstall the packages you don't need (OSCam packages):

opkg remove <found_package_name>

Note: The name of the package you use must exactly match the name of the installed one.

 

If there really is no package under the installation manager (under the opkg), then you probably installed / changed something manually. In this case, delete the "init.d" scripts, which contain the OSCam process handle (primarily, this ensures that the process is started during Linux booting). Then check if any OSCam(s) are running (scroll and find them, for example, with the help of the top or htop tools). If you found any running OSCam, kill them directly in the top (htop) tool or with the command: killall -9 <process_name> . Finally, delete the OSCam binary files, belonging to OSCam, in the /usr/bin folder via FTP connection or manually.



Re: Help to remove Oscam completely #4 Tech

  • Forum Moderator
    PLi® Core member
  • 14,923 posts

+486
Excellent

Posted 13 June 2023 - 14:18

hi!

1) opkg remove enigma2-softcam-oscam


I can't remove oscam, I tried all the procedures but they didn't work, when I try to install the new oscam it always tells me it's already installed

opkg install --force-reinstall <package_name> will overwrite an existing install.

By the way, it is 'enigma2-plugin-softcams-oscam' instead of 'enigma2-softcam-oscam'

Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Posted Image button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: Help to remove Oscam completely #5 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 14:31

root@sf8008:~# opkg list-installed | grep oscam

enigma2-plugin-extensions-oscamstatus - 2.0+git55+0004ed5-r1.0
enigma2-plugin-softcams-oscam - git10622+ede10dc-r0.1
root@sf8008:~#

 

 

i have this error:

 

root@sf8008:~# opkg remove enigma2-plugin-softcams-oscam


Collected errors:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *
 * Solution 1:
 *   - do not ask to deinstall enigma2-plugin-softcams-oscam

 * Solution 2:
 *   - do not ask to lock enigma2-plugin-softcams-oscam-git10622+ede10dc-r0.1.cortexa15hf-neon-vfpv4



Re: Help to remove Oscam completely #6 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 14:34

root@sf8008:~# opkg list-installed | grep -i "cam"

enigma2-plugin-extensions-oscamstatus - 2.0+git55+0004ed5-r1.0
enigma2-plugin-softcams-oscam - git10622+ede10dc-r0.1
enigma2-softcams-cccam-all-images - 2.3.9-r0-RAED_OE2.0
softcam-support - 2-r0.3
root@sf8008:~#



Re: Help to remove Oscam completely #7 mimisiku

  • Senior Member
  • 5,517 posts

+115
Excellent

Posted 13 June 2023 - 14:45

First remove softcam-support, next reboot the box. Then remove oscam…


Met één been in het graf..... Helaas

Re: Help to remove Oscam completely #8 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 14:50

First remove softcam-support, next reboot the box. Then remove oscam…

root@sf8008:~# opkg remove softcam-support




Collected errors:
 * Solver encountered 2 problem(s):
 * Problem 1/2:
 *   - package enigma2-plugin-softcams-oscam-git10622+ede10dc-r0.1.cortexa15hf-neon-vfpv4 requires softcam-support, but none of the providers can be installed
 *
 * Solution 1:
 *   - allow deinstallation of enigma2-plugin-softcams-oscam-git10622+ede10dc-r0.1.cortexa15hf-neon-vfpv4

 * Solution 2:
 *   - do not ask to deinstall softcam-support

 * Problem 2/2:
 *   - package enigma2-plugin-softcams-oscam-git10622+ede10dc-r0.1.cortexa15hf-neon-vfpv4 requires softcam-support, but none of the providers can be installed
 *
 * Solution 1:
 *   - do not ask to deinstall softcam-support

 * Solution 2:
 *   - do not ask to lock enigma2-plugin-softcams-oscam-git10622+ede10dc-r0.1.cortexa15hf-neon-vfpv4

root@sf8008:~#



Re: Help to remove Oscam completely #9 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 13 June 2023 - 14:53

Maybe you cannot uninstall because the package is on "hold". Use this command to check:

cat /var/lib/opkg/status | grep -B5 hold | grep Package

Edited by Stan, 13 June 2023 - 15:01.


Re: Help to remove Oscam completely #10 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 15:05

 

Maybe you cannot uninstall because the package is on "hold". Use this command to check:

cat /var/lib/opkg/status | grep -B5 hold | grep Package

 

with your command nothing:

 

root@sf8008:~# cat /var/lib/opkg/status | grep -B5 hold | grep Package
root@sf8008:~#

 

 

now i set user...

 

root@sf8008:~# opkg flag user enigma2-plugin-softcams-oscam

Setting flags for package enigma2-plugin-softcams-oscam to user.
root@sf8008:~# opkg remove enigma2-plugin-softcams-oscam
Removing enigma2-plugin-softcams-oscam (git10622+ede10dc) from root...
///var/lib/opkg/info/enigma2-plugin-softcams-oscam.prerm: line 2: /etc/init.d/softcam.oscam: No such file or directory
You can force removal of packages with failed prerm scripts with the option:
        --force-remove
Collected errors:
 * pkg_run_script: package "enigma2-plugin-softcams-oscam" prerm script returned status 127.
 * opkg_remove_pkg: not removing package "enigma2-plugin-softcams-oscam", prerm script failed



Re: Help to remove Oscam completely #11 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 13 June 2023 - 15:09

Because you have manually deleted the oscam files and directories, the uninstaller cannot find them!

 

But now you should be able to make a clean install.


Edited by Stan, 13 June 2023 - 15:12.


Re: Help to remove Oscam completely #12 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 15:16

no you are wrong, there is still everything in Oscam

 

I tried to force but nothing

 

root@sf8008:~# opkg remove enigma2-plugin-softcams-oscam --force-remove

Removing enigma2-plugin-softcams-oscam (git10622+ede10dc) from root...
///var/lib/opkg/info/enigma2-plugin-softcams-oscam.prerm: line 2: /etc/init.d/softcam.oscam: No such file or directory
Not deleting modified conffile /etc/tuxbox/config/oscam/oscam.srvid.
Not deleting modified conffile /etc/tuxbox/config/oscam/oscam.provid.
Not deleting modified conffile /etc/tuxbox/config/oscam/oscam.server.
Not deleting modified conffile /etc/tuxbox/config/oscam/oscam.dvbapi.
Not deleting modified conffile /etc/tuxbox/config/oscam/oscam.user.
Not deleting modified conffile /etc/tuxbox/config/oscam/oscam.conf.
Collected errors:
 * pkg_run_script: package "enigma2-plugin-softcams-oscam" prerm script returned status 127.
root@sf8008:~#

 



Re: Help to remove Oscam completely #13 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 13 June 2023 - 15:26

[...] there is still everything in Oscam

 

what is "everything"?

 

Have you tried a clean install of oscam?



Re: Help to remove Oscam completely #14 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 15:26

I didn't install this oscam from the feed, and the config files are all in config and not config/oscam (Look at the attached photo)

Attached Files


Edited by marcus83, 13 June 2023 - 15:36.


Re: Help to remove Oscam completely #15 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 13 June 2023 - 15:34

It seems messed up. I would recommend a clean re-flash of your box.



Re: Help to remove Oscam completely #16 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 15:36

Now they are present because I have restored the backup and I want to remove it, but when I remove them manually I have the same mistakes and I can't install the new Oscam



Re: Help to remove Oscam completely #17 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 15:37

It seems messed up. I would recommend a clean re-flash of your box.

I want to avoid this



Re: Help to remove Oscam completely #18 s3n0

  • Senior Member
  • 673 posts

+62
Good

Posted 13 June 2023 - 15:48

Hi.

 

If something goes wrong with the opkg manager, try restarting your set-top box first. There is probably something wrong with the opkg cache... hard to say.

 

Then... try this:

opkg flag user enigma2-plugin-softcams-oscam          # un-hold the package, from your Linux system, i.e. from the package manager
opkg remove --force-depends --force-remove softcam-support enigma2-plugin-softcams-oscam enigma2-plugin-extensions-oscamstatus

I recommend, if you dont need the CCcam softcam, also to remove this one:

opkg remove --force-remove enigma2-softcams-cccam-all-images

If all is done, then reboot:

reboot

Edited by s3n0, 13 June 2023 - 15:56.


Re: Help to remove Oscam completely #19 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 13 June 2023 - 15:54

It will not work. The uninstall script does not correspond with the installed version.

It tries to delete files form folder /etc/tuxbox/config/oscam but they are in /etc/tuxbox/config.


Edited by Stan, 13 June 2023 - 15:55.


Re: Help to remove Oscam completely #20 marcus83

  • Senior Member
  • 106 posts

0
Neutral

Posted 13 June 2023 - 15:54

 

Hi, try this:

opkg flag user enigma2-plugin-softcams-oscam          # un-hold the package, from your Linux system, i.e. from the package manager
opkg remove --force-remove softcam-support enigma2-plugin-softcams-oscam enigma2-plugin-extensions-oscamstatus

I recommend, if you dont need the CCcam softcam, also to remove this one:

opkg remove --force-remove enigma2-softcams-cccam-all-images

If all is done, then reboot:

reboot

root@sf8008:~# opkg remove enigma2-plugin-softcams-oscam
No packages installed or removed.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users