D
D
Dmitry Krymtsev2016-08-10 16:53:03
linux
Dmitry Krymtsev, 2016-08-10 16:53:03

Why can't I remove packages from OpenWRT?

Initially, I wanted to install motion and set up a Telegram bot that will send pictures when there is movement in the camera.
Put, poklatsal. Delete - does not want to.
I think okay, there is still room, I’ll upload the goit config from github, but I refused to download it through git clone, I had to remove git (opkg remove git) and install a new git (opkg install git-http). This is where the place ends. I think it needs to be cleaned. And actually here:

[email protected]:~# opkg remove git
No packages removed.
[email protected]:~# opkg remove git-http
No packages removed.
[email protected]:~# opkg remove motion
No packages removed.
[email protected]:~# opkg remove mjpg_streamer
No packages removed.

[email protected]:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    4.6M      4.4M    148.0K  97% /
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    14.0M    988.0K     13.1M   7% /tmp
/dev/mtdblock3            4.6M      4.4M    148.0K  97% /overlay
overlayfs:/overlay        4.6M      4.4M    148.0K  97% /
tmpfs                   512.0K         0    512.0K   0% /dev

If I go to /overlay/upper/usr/bin : but the commands above (opkg remove) never answered me with the result of what was removed.
[email protected]:/overlay/upper/usr/bin# ls
git                 git-shell           git-upload-pack     nano
git-receive-pack    git-upload-archive  mc

I noticed free rootfs 2.3M , now they are not there, and there seem to be no packages, but the free space has disappeared somewhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
solalex, 2016-08-11
@krimtsev

do opkg list-installedto see what is installed
In general, yes, there may be tails from installed packages. It is better to backup the firmware and restore from naked, or even better, connect a USB flash drive and install all additional packages on it via extroot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question