uAdBlockNG doesn't work with 24.04-1.x stable
-
Ever since upgrading to 24.04:
When enabling the app it gives the message "Error".
The last lines of the log read:
25.02.26 10:25] Cannot write to ‘/etc/hosts.blocklist’ (Success). [25.02.26 10:25] pam_unix(sudo:session): session closed for user root [25.02.26 10:25] file:///opt/click.ubuntu.com/uadblockng.liohmoeller/1.1/share/qml/uAdBlockNG/Main.qml:146:13: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.Same issue is reported on OpenStore but on https://github.com/LiohMoeller/uAdBlockNG/issues there is no issues mentioned.
Am I missing something? Is there a workaround?
TIA!
-
-
@gpatel-fr
Even creating an issue is impossible:Error Unable to create issue. -
what kind of browser do you use ? is it the old Morph Browser or the new QT6 Beta ?
-
Mozilla Firefox 148.0 on my Linux PC.
-
yes, the repo owner has disabled the issues

-
Too bad. I consider it a PITA on the small display of my device.
Thanks for your replies anyway.
-
It was my problem too and it was because there was not enough space in /etc partition. What I did was to create a symlink
/etc/hosts.blocklist -> /home/phablet/Downloads/hosts.blocklist(maybe I had to create first the /home/phablet/Downloads/hosts.blocklist file and then the symlink but I don't remember) and then uAdBlockNG worked. -
@mihael
Thanks for that tip. Unfortunately it didn't work out.Logs read:
100% 5,90M=21s [25.02.26 23:17] 2026-02-25 23:17:43 (1,90 MB/s) - ‘/etc/hosts.blocklist’ saved [41546183/41546183] [25.02.26 23:17] pam_unix(sudo:session): session closed for user root [25.02.26 23:17] qml: next cp /etc/hosts /etc/hosts.without-adblock [25.02.26 23:17] phablet : PWD=/opt/click.ubuntu.com/uadblockng.liohmoeller/1.1 ; USER=root ; COMMAND=/usr/bin/cp /etc/hosts /etc/hosts.without-adblock [25.02.26 23:17] pam_unix(sudo:session): session opened for user root(uid=0) by phablet(uid=32011) [25.02.26 23:17] pam_unix(sudo:session): session closed for user root [25.02.26 23:17] qml: next cp /etc/hosts.blocklist /etc/hosts [25.02.26 23:17] phablet : PWD=/opt/click.ubuntu.com/uadblockng.liohmoeller/1.1 ; USER=root ; COMMAND=/usr/bin/cp /etc/hosts.blocklist /etc/hosts [25.02.26 23:17] pam_unix(sudo:session): session opened for user root(uid=0) by phablet(uid=32011) [25.02.26 23:17] cp: error writing '/etc/hosts': No space left on device [25.02.26 23:17] pam_unix(sudo:session): session closed for user root [...]I even added two symlinks for
/etc/hosts
and/etc/hosts.without-adblocktargeting /home/phablet/Downloads. No success, however. -
@muskist If you
ls -l /etcwhat do you get? - I checked on my phone and I get (among many other lines):
hosts -> /home/phablet/Downloads/hosts
hosts.blocklist -> /home/phablet/Downloads/hosts.blocklist -
I had another try after uninstalling and reinstalling uAdBlockNG and creating symlinks like this:
root@ubuntu-phablet:/etc# ls -l hosts* lrwxrwxrwx 1 root root 29 Feb 26 16:49 hosts -> /home/phablet/Downloads/hosts lrwxrwxrwx 1 root root 39 Feb 26 16:07 hosts.blocklist -> /home/phablet/Downloads/hosts.blocklist [...]and it worked out fine! I must have made a mistake before when creating the symlinks.
Thanks for your help!
-
M muskist marked this topic as a question
-
M muskist has marked this topic as solved
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login