You are not logged in.
Hi, can u guys update yt-dlp package for the Devuan 5 repos? It is so outdate that isn't even working anymore
Hello, I've installed Devuan 5 with KDE Plasma. One thing is not working though
I got some external HDD with encrypted LVM on them and this used to work in my previous installation. If I plug my HD the DE doesn't detect it so I can just mount it by clicking and typing the password. It work though if I run cryptsetup and then mount if through the terminal but I want to just click and mount it. It also work for my USB sticky with unencrypted filesystems. Can you help me to configure this?
I'm trying to install the newer version of php and I've added the "https://packages.sury.org/php" to my source list but when I try to install it, it fails with dependencies incompatibilities and doesn't let me install. I even tried using aptitude which uses to handle these kind of errors very nice but in this case it gave me no solution:
$ aptitude install php8.2
Warning: Invalid locale (please review locale settings, this might lead to problems later):
locale::facet::_S_create_c_locale name not valid
The following NEW packages will be installed:
php8.2{b}
0 packages upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 28.3 kB of archives. After unpacking 63.5 kB will be used.
The following packages have unmet dependencies:
php8.2 : Depends: libapache2-mod-php8.2 but it is not installable or
php8.2-fpm but it is not installable or
php8.2-cgi but it is not installable
Depends: php8.2-common but it is not installable
The following actions will resolve these dependencies:Keep the following packages at their current version:
1) php8.2 [Not Installed]Accept this solution? [Y/n/q/?]
What you tried looks right to me, but the man page for mke2fs doesn't actually say what units to use for offset. Further down the page where it talks about specifying the location of the journal, the wording suggests that you might need to use 'offset=1M'.
One thing you did looks odd - why partition with cfdisk if you want gpt? gdisk is the right tool for that.
Well, it happens that I was just forgetting to pass a -E flag to the mkfs command. After that, it was possible to create the filesystems
What about:
loopdev=$(losetup -P -f --show imagem-zero.img) mkfs.ext4 ${loopdev}p1 losetup -d $loopdev
(Or something along these lines)
Nice, losetup did the trick easily
My goal is to create a regular file and within it make a partition and file systems (literally a virtual hard drive) and finally mount it, so I did:
sudo dd if=/dev/zero of=imagem-zero.img count=20480000
To create the file with aprox 20Gb. Then I've partitioned with cfdisk, after that the status of the file was:
$ gdisk -l imagem-zero.img
GPT fdisk (gdisk) version 1.0.1Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: presentFound valid GPT with protective MBR; using GPT.
Disk imagem-zero.img: 40960000 sectors, 19.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 544A9633-7FA3-4BE8-BEE7-612C151A4504
Partition table holds up to 128 entries
First usable sector is 2048, last usable sector is 40959966
Partitions will be aligned on 2048-sector boundaries
Total free space is 0 sectors (0 bytes)Number Start (sector) End (sector) Size Code Name
1 2048 16779263 8.0 GiB 8304
2 16779264 40959966 11.5 GiB 8302
Now I want to make the file system ext4 in both these two sectors but I'm failing with the error message in the title of the question:
$ sudo mkfs.ext4 imagem-zero.img offset=$((2048*512))
mke2fs 1.43.4 (31-Jan-2017)
mkfs.ext4: invalid blocks 'offset=1048576' on device 'imagem-zero.img'
$ sudo mkfs.ext4 imagem-zero.img offset=$((2048))
mke2fs 1.43.4 (31-Jan-2017)
mkfs.ext4: invalid blocks 'offset=2048' on device 'imagem-zero.img'
My question is, how to find the correct offset to make the FS on both of the partitions? Thanks in advance.
Suggestions on how to reach my goal are also welcome
try to mount with offset for desired partition:
-o offset=$((START_SECTOR_OF_PARTITION*512))
example for partition 42:
-o offset=$((5033984*512))
Hey, that did the trick
thanks a lot
strange thing, this error just happened again but now the proposed solution is not working anymore. Any tips?
yes, it did
thanks for the help
very good, thanks for sharing
I've added to my sources lists the repositories of metasploit and virtualbox in order to make it easy to install them. It was working normally and the updates were coming but today when I tried to update I got the following output:
Err:4 [url]http://downloads.metasploit.com/data/releases/metasploit-framework/apt[/url] lucid/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:429 [weak]
- SHA256:02899db9c850f78edc1f5abfdfe485ffbf3b7d04a4695d0ef7ff912aedb1a492
- SHA1:37419453a05e2a2586e63cf078f597514b919a17 [weak]
- MD5Sum:b2dcab0962b2b53319f4715beedcb911 [weak]
Hashes of received file:
- SHA256:3ae2486b947d2db14add85154b39a4fc35e30dda695d4b628edea71365c846a4
- SHA1:4672a8054e770556316417658f335ba31cb4160a [weak]
- MD5Sum:27517729f2a9ed7ec35e051c08983491 [weak]
- Filesize:428 [weak]
Last modification reported: Sun, 12 Aug 2018 16:13:17 +0000
Release file created at: Tue, 14 Aug 2018 11:21:02 +0000
Get:5 [url]http://downloads.metasploit.com/data/releases/metasploit-framework/apt[/url] lucid/main amd64 Packages [429 B]
Err:5 [url]http://downloads.metasploit.com/data/releases/metasploit-framework/apt[/url] lucid/main amd64 Packages
Err:13 [url]http://download.virtualbox.org/virtualbox/debian[/url] stretch/contrib i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:1739 [weak]
- SHA256:e9756829a27c807bf8d25a90a1001adce03a31fb87efc96b13e9854cba66eed8
- SHA1:83539259fc124b4bbba5f77a1e6e835fe34deebf [weak]
- MD5Sum:aa86cc0404bedfd33919ca5977f15a24 [weak]
Hashes of received file:
- SHA256:f84652d7ac0afe92cb8fa010056f4121551342cdecf7ae104cb9e03057da4167
- SHA1:1a0de458cdc36a66e8b8bbf68c141a9111775c86 [weak]
- MD5Sum:37678c5fd937ecd1c2634ba544001112 [weak]
- Filesize:1727 [weak]
Last modification reported: Tue, 17 Jul 2018 07:50:04 +0000
Release file created at: Tue, 14 Aug 2018 16:13:46 +0000
......
Fetched 89.8 MB in 41s (2,143 kB/s)
Reading package lists... Done
E: Failed to fetch [url]http://download.virtualbox.org/virtualbox/debian/dists/stretch/contrib/binary-i386/Packages.bz2[/url] Hash Sum mismatch
Hashes of expected file:
- Filesize:1739 [weak]
- SHA256:e9756829a27c807bf8d25a90a1001adce03a31fb87efc96b13e9854cba66eed8
- SHA1:83539259fc124b4bbba5f77a1e6e835fe34deebf [weak]
- MD5Sum:aa86cc0404bedfd33919ca5977f15a24 [weak]
Hashes of received file:
- SHA256:f84652d7ac0afe92cb8fa010056f4121551342cdecf7ae104cb9e03057da4167
- SHA1:1a0de458cdc36a66e8b8bbf68c141a9111775c86 [weak]
- MD5Sum:37678c5fd937ecd1c2634ba544001112 [weak]
- Filesize:1727 [weak]
Last modification reported: Tue, 17 Jul 2018 07:50:04 +0000
Release file created at: Tue, 14 Aug 2018 16:13:46 +0000
E: Failed to fetch [url]http://downloads.metasploit.com/data/releases/metasploit-framework/apt/dists/lucid/main/binary-i386/Packages.gz[/url] Hash Sum mismatch
Hashes of expected file:
- Filesize:429 [weak]
- SHA256:02899db9c850f78edc1f5abfdfe485ffbf3b7d04a4695d0ef7ff912aedb1a492
- SHA1:37419453a05e2a2586e63cf078f597514b919a17 [weak]
- MD5Sum:b2dcab0962b2b53319f4715beedcb911 [weak]
Hashes of received file:
- SHA256:3ae2486b947d2db14add85154b39a4fc35e30dda695d4b628edea71365c846a4
- SHA1:4672a8054e770556316417658f335ba31cb4160a [weak]
- MD5Sum:27517729f2a9ed7ec35e051c08983491 [weak]
- Filesize:428 [weak]
Last modification reported: Sun, 12 Aug 2018 16:13:17 +0000
Release file created at: Tue, 14 Aug 2018 11:21:02 +0000
E: Failed to fetch [url]http://downloads.metasploit.com/data/releases/metasploit-framework/apt/dists/lucid/main/binary-amd64/Packages.gz[/url]
E: Some index files failed to download. They have been ignored, or old ones used instead.
What can be causing this? And also, how to solve?
Thanks in advance
actually with a fast read on photorec man solved the problem, it happens I need only to call it passing the image file and it does the search automatically without having to mount
Hey guys
I've done a copy of my android phone disk into an image file but now I can't mount it in order to inspect (i wanna run photorec on it to recover some files...).
To obtain the image file I just copied the dev block from the device:
adb pull /dev/block/mmcblk0 ~/imagem-thea-20180722.img
Now I'm trying to mount it but is returning the error message:
$ sudo mount -t msdos -o ro,loop imagem-thea-20180722.img mnt/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other errorIn some cases useful info is found in syslog - try
dmesg | tail or so.
Some info on the file:
$ file imagem-thea-20180722.img
imagem-thea-20180722.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,255,63), startsector 1, 4294967295 sectors, extended partition table (last)
$ sudo fdisk -l imagem-thea-20180722.img
Disk imagem-thea-20180722.img: 14.7 GiB, 15758000128 bytes, 30777344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 98101B32-BBE2-4BF2-A06E-2BB33D000C20Device Start End Sectors Size Type
imagem-thea-20180722.img1 256 131327 131072 64M Microsoft basic data
imagem-thea-20180722.img2 131328 132351 1024 512K unknown
imagem-thea-20180722.img3 132352 132415 64 32K unknown
imagem-thea-20180722.img4 132608 134631 2024 1012K unknown
imagem-thea-20180722.img5 135608 136007 400 200K unknown
imagem-thea-20180722.img6 136608 137407 800 400K unknown
imagem-thea-20180722.img7 137608 137671 64 32K unknown
imagem-thea-20180722.img8 137672 138695 1024 512K unknown
imagem-thea-20180722.img9 138696 142791 4096 2M unknown
imagem-thea-20180722.img10 142792 147455 4664 2.3M Microsoft basic data
imagem-thea-20180722.img11 147456 149479 2024 1012K unknown
imagem-thea-20180722.img12 150456 150855 400 200K unknown
imagem-thea-20180722.img13 151456 152255 800 400K unknown
imagem-thea-20180722.img14 152456 152519 64 32K Microsoft basic data
imagem-thea-20180722.img15 152520 153543 1024 512K unknown
imagem-thea-20180722.img16 153600 154623 1024 512K unknown
imagem-thea-20180722.img17 154624 155703 1080 540K Microsoft basic data
imagem-thea-20180722.img18 155704 158775 3072 1.5M unknown
imagem-thea-20180722.img19 158776 161847 3072 1.5M unknown
imagem-thea-20180722.img20 161848 162823 976 488K unknown
imagem-thea-20180722.img21 162824 162887 64 32K unknown
imagem-thea-20180722.img22 163072 166143 3072 1.5M unknown
imagem-thea-20180722.img23 166144 166145 2 1K unknown
imagem-thea-20180722.img24 166146 166161 16 8K unknown
imagem-thea-20180722.img25 166162 168209 2048 1M unknown
imagem-thea-20180722.img26 168210 168465 256 128K unknown
imagem-thea-20180722.img27 168466 174609 6144 3M unknown
imagem-thea-20180722.img28 174610 182801 8192 4M unknown
imagem-thea-20180722.img29 182802 190993 8192 4M unknown
imagem-thea-20180722.img30 191232 207615 16384 8M Microsoft basic data
imagem-thea-20180722.img31 207616 208639 1024 512K unknown
imagem-thea-20180722.img32 208640 229039 20400 10M unknown
imagem-thea-20180722.img33 229040 249599 20560 10M unknown
imagem-thea-20180722.img34 249600 251647 2048 1M Microsoft basic data
imagem-thea-20180722.img35 251648 284415 32768 16M Microsoft basic data
imagem-thea-20180722.img36 284416 300799 16384 8M unknown
imagem-thea-20180722.img37 300800 327679 26880 13.1M Microsoft basic data
imagem-thea-20180722.img38 327680 360447 32768 16M unknown
imagem-thea-20180722.img39 360448 425983 65536 32M Microsoft basic data
imagem-thea-20180722.img40 425984 4521983 4096000 2G Microsoft basic data
imagem-thea-20180722.img41 4521984 5033983 512000 250M Microsoft basic data
imagem-thea-20180722.img42 5033984 30711551 25677568 12.2G Microsoft basic data
Can anyone help me in what I'm doing wrong here? thanks in advance
that did it
thanks
What's the simplest way to do it?
I've made some searches on google and even found that there's a Devuan group on steam but all tutorials I found involves adding a debian repo into sources.list. Anyway, how can I do it?
Thanks in advance.
It's funny I was about to make a thread exactly about this. Imo, they sold the soul for the devil. I don't even want to imagine what kind of sh*t they will do to ruin it for their business (like they did to skype, Msn, others). I've deleted all my repos because I don't want to be part of this. Maybe they will grab their hands on the private codes that resides there? I think it is possible giving their historic of devious actions. Maybe they will limit the number of free repos, who knows?
> The login system gets deleted and replaced by a Microsoft ID thing that prioritizes your Microsoft username over Github's username system, resulting in everyone having their @names taken away by random name squatters belonging to a 6 year old, unused Outlook account.
> At the same time, Github support gets outsources to Microsoft Support, which is already outsourced to the most rural parts of India, resulting in @name restoration requests recieving "I'm sorry, Sir. I am unable to do the needful." responses.
> A few months later, following a rather cryptic announcement by Microsoft regarding plans to "improve enterprise issue tracking", everyone suddenly finds Github's issue tracking system being replaced with an <iframe> reading to Microsoft's new, revolutionary Office 365 issue tracking system that serves an ample amount of 503's and has an average latency of 6 - 18 seconds. But don't worry, purchasing Github 365 Premium resolves all these problems, at an affordable $99 per year per repo.
> A few months after that, Microsoft's CEO announces that he "understands the frustrations" of the new Office 365 issue tracking system, especially when hosting multiple repos. Therefore Microsoft is now rebuilding Github to be leaner and better, and offering better Office 365 integration. This is followed by yet another announcement on Github's website that they are changing how repos work. Free account users can now only have 1 repo per account, "to avoid unnecessary resource usage, ensuring that Office 365 issue tracking will work better than ever", as the announcement put it.
> A year later, Microsoft announces an exciting new look for Github. The only problem is that it requires JavaScript. A lot of JavaScript. So attempting to access Github with JavaScript turned off simply presents you with a blank page saying "Please turn on JavaScript" with a sad octopus next to it. In the same announcement they also quickly mention that free account users can no longer use use "external apps" to get or push things to/from their repo. The only solution is to upgrade to Github 365 Premium, or use a "Microsoft Certified App", such as Visual Studio 2019, for development.
> Yet another year later Microsoft announces proudly that Github is now part of Office 365, ensuring that every enterprise will have their own, integrated, simple source code managing tool. No other info is given, aside from marketing buzzwords talking about SUCCESSFUL and REVENUE. Free users is suddenly presented with a "This account does not have an active Office 365 subscription. Click here to buy." when they attempt to login. Attempts at backing up or migrating their account fails with 403 errors, since you now need an Office 365 subscription to access any Github page.
That's the kind of stuff that can happen.
Can we also talk about alternatives to github? I'm yet to decide where to go.
I am a bit unsure about ascii-updates and ascii-proposed (probably still better to avoid unless you know you need them) but mixing in experimental is not a good idea unless you know exactly what you are doing. What is the reason for adding it and do you have any pinning in place to keep it in check?
Well I added them because I like to always have the most recent updates of packages available, just like I did when I was in the ArchLinux world. Should I remove them from sources-list?
Btw, I solved my problem by installing the packages through aptitude
And, have you run:
apt-get update
before trying to install the g++-multilib package? It currently installs just fine here using the same repos as yours.
Yes, I've tried it and didn't worked.
Thank you guys for the help
I've only used dpkg to install the kernel I built with make deb-pkg and to install ungoogled-chromium I've also built.
What do your apt sources look like?
cat /etc/apt/sources.list:
# deb cdrom:[devuan_ascii_2.0.0-rc_amd64_netinst]/ ascii main non-free
#deb cdrom:[devuan_ascii_2.0.0-rc_amd64_netinst]/ ascii main non-free
deb [url]http://br.deb.devuan.org/merged[/url] ascii main non-free contrib
deb-src [url]http://br.deb.devuan.org/merged[/url] ascii main non-free contrib
deb [url]http://br.deb.devuan.org/merged[/url] ascii-updates main non-free contrib
deb-src [url]http://br.deb.devuan.org/merged[/url] ascii-updates main non-free contrib
deb [url]http://br.deb.devuan.org/merged[/url] ascii-security main non-free contrib
deb-src [url]http://br.deb.devuan.org/merged[/url] ascii-security main non-free contrib
deb [url]http://br.deb.devuan.org/devuan[/url] ascii-proposed main
deb-src [url]http://br.deb.devuan.org/devuan[/url] ascii-proposed main
deb [url]http://br.deb.devuan.org/merged[/url] ascii-backports main
deb-src [url]http://br.deb.devuan.org/merged[/url] ascii-backports main
deb [url]http://br.deb.devuan.org/devuan[/url] experimental main
deb-src [url]http://br.deb.devuan.org/devuan[/url] experimental main
#------------------------------------------------------------------------------#
# UNOFFICIAL REPOS
#------------------------------------------------------------------------------#
###### 3rd Party Binary Repos
###Virtualbox
deb [arch=i386,amd64] [url]http://download.virtualbox.org/virtualbox/debian[/url] stretch contrib
I've used archlinux almost all my linux life so I'm not very used to the apt world. I'm trying to install these packages:
sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-dev lib32z1-dev
But it fails with:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
g++-multilib : Depends: g++-6-multilib (>= 6.3.0-9~) but it is not going to be installed
gcc-multilib : Depends: gcc-6-multilib (>= 6.3.0-9~) but it is not going to be installed
lib32ncurses5-dev : Depends: lib32tinfo-dev (= 6.0+20161126-1+deb9u2) but it is not going to be installed
Depends: lib32c-dev
lib32readline-dev : Depends: lib32tinfo-dev but it is not going to be installed
Depends: libc6-dev-i386 but it is not going to be installed
lib32z1-dev : Depends: lib32c-dev
E: Unable to correct problems, you have held broken packages.
I need to install these in order to build LineageOs from source. Any help? Thanks in advance.
I saw on this list about systemd-free distros this one called Hyperbola which is based on Devuan. Has anyone of you guys ever used it? What are your opinions on it? I've read that it used pacman as package manager which I found great because I'm a long run Archlinux user (only left arch for devuan because of SystemDisease stuff) and I prefeer pacman + aur than apt. Then matching it with Devuan which is also great I think would be a great experience. What do you have to say?
Pode encaminhar uma cópia da mensagem recebida para meu email?
Feito.
From those of you who want to try out this google-free version of chromium, here is how I managed to build and install it. Don't know if it's the best way, maybe I've done something stupid on the way but here is it:
1 - Download source:
git clone https://github.com/Eloston/ungoogled-chromium
2 - Read the instructions for building to debian based distros here
3 - Install some extra packages not listed in the tutorial above:
Note: Ascii has debhelper version 10.something installed so I had to choose a higher version for install. It is available in devuan's backports repo
sudo apt-get install dh-autoreconf=17~bpo9+1
sudo apt-get install debhelper=11.2.1~bpo9+1
4 - Have all these packages installed for the build process:
sudo apt-get install packaging-dev python3 ninja-build clang-6.0 lld-6.0 llvm-6.0-dev python-jinja2 yasm xvfb gperf valgrind libglew-dev libgl1-mesa-dev libglu1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev mesa-common-dev libre2-dev libgbm-dev libpng-dev libxss-dev libvpx-dev libpci-dev libcap-dev libicu-dev libkrb5-dev libexif-dev libflac-dev libudev-dev libopus-dev libwebp-dev libxtst-dev libsrtp-dev libjpeg-dev libxml2-dev libgtk-3-dev libxslt1-dev liblcms2-dev libpulse-dev libpam0g-dev libsnappy-dev libavutil-dev libavcodec-dev libavformat-dev libasound2-dev libjsoncpp-dev libspeechd-dev libminizip-dev libhunspell-dev libusb-1.0-0-dev libopenjp2-7-dev libmodpbase64-dev libnss3-dev libnspr4-dev libcups2-dev libevent-dev libjs-excanvas libjs-jquery-flot libgcrypt20-dev libva-dev
5 - Setup build space:
mkdir -p buildspace/downloads # Alternatively, buildspace/ can be a symbolic link
./buildkit-launcher.py genbun debian_stretch
./buildkit-launcher.py getsrc
./buildkit-launcher.py subdom
./buildkit-launcher.py genpkg debian --flavor stretch
6 - Finally, build it:
dpkg-buildpackage -b -uc
After building, the debs will appear under buildspace/
7 - Install it, in my case, I build it from master which is today at version 66.0.3359.139-1:
sudo dpkg -i buildspace/ungoogled-chromium-common_66.0.3359.139-1~stretch_amd64.deb
sudo dpkg -i buildspace/ungoogled-chromium_66.0.3359.139-1~stretch_amd64.deb
At this point, you are good to go, buy maybe you want to install some plugins:
8 - Installing addons/extensions
You may notice that it will not be possible to install plugins directly from Chrome webstore but you can follow this simple to do so:
8.1 - Make a directory to keep the extensions sources, chose whatever name you want for the dir:
mkdir ~/.ungoogled-chromium-extensions
8.2 - Download the crx extension file:
For this example, let's assume I'm installing AdBlock, so I'll get its webstore link and give it to http://crxextractor.com/.
8.3 - Convert the crx to zip file:
In the same site crxextractor, upload the crx in the option to convert it now to zip. It would be faster if they just let us convert the webstore link directly to zip but the site doesn't offer this service.
8.4 - Extract the zip content into the new created ~/.ungoogled-chromium-extensions dir
8.5 Install the extension from source into the browser:
> Go to chrome://extensions/
> Enable developer mode
> Click "Load unpacked"
> Choose the root directory of the extracted extension sources
> Have fun
Any suggestions to facilitate this process is welcome
I like to hear these kind of music and also eletronic/hardstyle when I'm coding:
Is there a simple way to do it? I guess if I just add it to source.list would certainly break my system. I also knew a script called katoolin but it also doesn't work. Any tips on this subject?
Como faço para me inscrever na lista? Tentei mas recebi resposta dizendo que não estou na lista de autorizados
Thank you all, it was very helpful. I'm also trying now the package Ungoogled-chromium (btw, what is your opinion on this one?) which is a version of open source chromium without all integrations from Google. If I succed in building it, I'll post a how-to here.
Thank you