The officially official Devuan Forum!

You are not logged in.

#226 Re: Hardware & System Configuration » trouble setting up local ASCII repo [SOLVED] » 2018-07-20 19:38:08

golinux, I decided to devote some time to learn how to use nginx. Then I followed the advice in the second link you posted (section 5b) and it works like a charm now. I ended up needed to host the repo on my router+nginx instead of locally on my machine, but I like it better this way anyway. Thank you.

#227 Re: Hardware & System Configuration » trouble setting up local ASCII repo [SOLVED] » 2018-07-20 14:46:50

I'm comfortable with that small risk in order to keep things simple.

If only I could tell APT to treat the Filenames in the Packages file as absolute paths--not paths relative to the local repo--everything would work. Does anyone know how to accomplish this?

#229 Re: Hardware & System Configuration » trouble setting up local ASCII repo [SOLVED] » 2018-07-20 13:34:16

I'm not sure, sgage. I was hoping to not involve Amprolla, either.

My hope was to make this work by putting everything required in the repository directory itself, with only change in my system being in /etc/apt/sources.list. Maybe this isn't possible?

#230 Re: Hardware & System Configuration » trouble setting up local ASCII repo [SOLVED] » 2018-07-20 12:09:08

Thank you, golinux. Accomplishing this with on-the-fly nginx/apache redirects on a web server is overkill for my purposes.

Is it possible to instruct APT to grab Devuan-specific packages locally vs. grab Debian-shared packages from deb.debian.org by means of the Filename line in the Packages file? If not, is there some other way to accomplish this without setting up a file server?

#231 Hardware & System Configuration » trouble setting up local ASCII repo [SOLVED] » 2018-07-20 04:28:03

GNUser
Replies: 11

I created a local ASCII repo (snapshot of main's binary-all and binary-amd64) in ~/Desktop/repo (will move it to a more dignified location later). It almost works. The only trouble is that for packages that Devuan takes directly from Debian, apt is trying to get the package from /home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main... (obviously wrong) instead of the intended http://deb.debian.org/debian/pool/main.... Can you help me fix this?

First an example of the problem (notice the "File not found" line):

bruno@thinkpad:~/Desktop$ sudo apt-get install nano
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  spell
The following NEW packages will be installed:
  nano
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 0 B/485 kB of archives.
After this operation, 2,092 kB of additional disk space will be used.
Get:1 file:/home/bruno/Desktop/repo/merged ascii/main amd64 nano amd64 2.7.4-1 [485 kB]
Err:1 file:/home/bruno/Desktop/repo/merged ascii/main amd64 nano amd64 2.7.4-1
  File not found - /home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb  File not found - /home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb (2: No such file or directory)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Now for my setup. Here is my /etc/apt/sources.list:

deb file:/home/bruno/Desktop/repo/merged/ ascii main

And here is the relevant part of ~/Desktop/repo/merged/dists/ascii/main/binary-amd64/Packages.gz and Packages.xz (notice the "Filename" line):

Package: nano
Version: 2.7.4-1
Installed-Size: 2043
---snip---
Filename: http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb
Size: 484790
MD5sum: 161a45ba3787383f8348f985b4c3d3e9
SHA256: 9181ebcf0fb5c302bd53150531b6609394a030d1be06f376275d690c70964d59

Please, how do I change my Packages files (or apt settings) so that apt grabs packages from deb.debian.org when appropriate?

#232 Re: Other Issues » [Solved] Firefox 60 » 2018-06-13 16:54:25

supusr, while snaps don't work on Devuan, AppImages do. For Firefox 60, the 64-bit AppImage is here near the bottom: https://bintray.com/probono/AppImages/Firefox#files

Just download the .AppImage file to anywhere on your filesystem, make the file executable, and double-click to run. It really is that simple.

For better integration, on my system I uninstalled firefox and made /usr/bin/firefox a link to the AppImage.

Hope this helps.

#233 Re: Installation » Problems to update grub. [solved] » 2018-05-31 17:22:45

Try not to install grub during your installation of MXLinux. If you make a mistake, accidentally install grub, and notice that grub is using MXLinux's grub.cfg, just boot into Devuan and run $ sudo grub-install /dev/sda. That will make grub use Devuan's grub.cfg again.

#234 Re: Off-topic » what is the difference between ./ and ././ [SOLVED] » 2018-05-30 19:19:50

I asked the AppImage guys and they explained it to me: https://github.com/AppImage/AppImageKit … -393284213

In a word, ././ is redundant. It's a hack to convert absolute paths (e.g., /usr/bin/foo) to relative paths (e.g., ././/bin/foo) without changing the length of the string. Binaries have internal addresses, so if the length of a string inside a binary is changed when patching the binary to make it portable, the binary will no longer work because things will no longer be at the expected addresses.

#235 Re: Off-topic » what is the difference between ./ and ././ [SOLVED] » 2018-05-30 18:44:23

Yes, ././ in the context of AppImage creation are the leading characters in a relative path and means "here". I can confirm that it works:

bruno@thinkpad:~$ cd /bin
bruno@thinkpad:/bin$ ././echo test
test
bruno@thinkpad:/bin$ 

But for the life of me I can't figure out why someone wouldn't simply use plain ol' ./. Maybe the AppImage guys are unaware that the simpler form is equivalent? Maybe ././ also works in other OSes but ./ only works in GNU/Linux? I'm at a loss.

If none of my Devuan friends know, I may contact the AppImage guys to ask them.

#236 Off-topic » what is the difference between ./ and ././ [SOLVED] » 2018-05-30 18:17:21

GNUser
Replies: 4

I've been hacking on GNU/Linux for a long time, so obviously I'm familiar with ./ and use it often. It seems that ././ is also sometimes used to mean "here" (for example, see the No hard-coded paths section here).

Have you ever encountered ././ before? I have only ever seen it in the AppImage guide in the link above. Please, what's the difference between ./ and ././? Internet searches have not turned up anything even remotely relevant this question.

#237 Re: Installation » Problems to update grub. [solved] » 2018-05-30 15:15:41

Sorry, keos, but I'm running out of ideas. Here are the things I'd try:

- increase your screen resolution so that hopefully all of the box shows up
- blindly answer the box's question (since you can't see all of the box)
- try the dpkg command in a different terminal emulator or in a virtual console, hoping all of the box shows up

Good luck. I'll keep an eye on the thread and will jump in again if I think I can help.

#238 Re: Installation » Problems to update grub. [solved] » 2018-05-30 14:42:13

I made some edits to my last post (#15). Take a look at my two suggestions.

I agree that dpkg is being a bully here. However, in a Debian/Devuan system dpkg is king of the hill, so we need to satisfy it.

#239 Re: Installation » Problems to update grub. [solved] » 2018-05-30 14:25:16

Oh, I see. Compare your screenshot with the screenshot here. The text in your box gets cut off after "less reliable, and". Bizarre. The configuration options are probably there, you just can't see them.

I don't know enough about ncurses (the library used to create these kind of text boxes inside terminals) to help the box show up properly. I'd try one of two things:

1. Try running $ sudo dpkg --configure -a in a different terminal emulator or in a virtual console (e.g., after pressing Control + Alt + F2). Hopefully the box will display properly in a different environment.

-or-

2. In whatever terminal emulator you are using, when the box shows up try blindly choosing a location for grub using your keyboard arrows. After dpkg installs grub to somewhere (since you couldn't see), you can manually install grub to /dev/sda to make sure it is installed to the proper location.

#240 Re: Installation » Problems to update grub. [solved] » 2018-05-30 13:52:49

Ok, so grub is working fine. I think the "problem" here is that dpkg is trying too hard to be helpful.

Please try running $ sudo dpkg --configure -a then answering dpkg's question about grub--in the list of "GRUB install devices" choose /dev/sda (as shown here). Allow dpkg to install grub to /dev/sda (even though you already did this manually, letting dpkg do it again won't hurt anything).

Now dpkg should be happy. Try running running $ sudo apt-get update and $ sudo apt-get upgrade again--hopefully the commands will not bother you with any errors.

#241 Re: Installation » Problems to update grub. [solved] » 2018-05-30 13:24:45

Before troubleshooting the dpkg issue, let's try to get grub to work as you expect. What happens when you run $ sudo grub-install /dev/sda followed by a reboot? You should see a grub menu with ASCII listed at the top.

#242 Re: Installation » Problems to update grub. [solved] » 2018-05-30 12:46:24

keos, what you are missing is running this command while in ASCII: $ sudo grub-install /dev/sda

Then reboot and you'll see that grub will behave as expected.

---------------

P.S.: Running $ sudo update-grub in ASCII simply (re)generates a /boot/grub/grub.cfg file in your ASCII partition--it does not tell grub that now you want to start using ASCII's grub.cfg instead of the grub.cfg file in some other partition. The way you tell grub that you want it to use ASCII's grub.cfg is by running grub-install from within ASCII.

BTW, you only need sudo if you are at a user command prompt (the one ending with $). If you are already at a root prompt (the one ending with #) then you don't need sudo.

#243 Re: Intergalactic Communities » Documentation in Portuguese » 2018-05-21 21:29:57

Se eu puder ajudar de alguma forma, estou à disposição.

#244 Re: Desktop and Multimedia » How do you encrypt files? » 2018-05-21 17:49:22

HectorBRX,

I don't have a GUI solution, but I can recommend gpg (part of gnupg package), which is very easy to use for symmetric encryption (same passphrase for both encryption and decryption) if that's what you are looking for.

To encrypt a file:

gpg --yes --batch --passphrase="YourSecretPasswordHere" -c yourfile.abc

To decrypt:

gpg --yes --batch --passphrase="YourSecretPasswordHere" yourfile.abc.gpg

gpg's default cipher algorithm for symmetric encryption is AES-128 (which gpg calls simply "AES"), but you can specify a different cipher by using the --cipher-algo flag (to see available ciphers, run gpg --version).

#245 Re: Other Issues » [RESOLVED, IN A WAY] Eboard chess keeps crashing » 2018-05-21 15:32:48

Ron, I was not able to reproduce your problem. I was able to install and run eboard without any issues on both Jessie and ASCII.

I created an AppImage of eboard for you, in case you'd like to try it. It includes eboard and all the libraries it needs to run. Just download the appimage, make it executable, and run it. Tested and working in Devuan ASCII:
http://files.dantas.airpost.net/public/eboard.AppImage

(To examine the contents of the appimage, run this command: $ eboard.AppImage --appimage-extract)

If the appimage works, it suggests that you mysteriously are either missing a required library or one of the required libraries is corrupt.

#247 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 18:59:22

Yes, it is as I suspected. You'll be resized in no time smile

1. Boot into your live disc and start GParted
2. Right-click anywhere on that light blue line, choose "Resize", then make the extended partition (/dev/sda1) bigger by expanding it into the large unallocated space to its left
3. Right-click anywhere on your /dev/sda5 partition, choose "Resize", then make it take up all of the space available in the extended partition

#248 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 17:53:02

Ron, from a previous thread I know that you use MBR like me. MBR can only hold 4 primary partitions. If you have/had more than 4 partitions (which sda5 suggests), then one of your partitions must be what's called an extended partition.

I think the problem here is that Miyo is on a logical partition inside an extended partition, so you have to make the extended partition bigger before you can make sda5 bigger.

Hopefully the above is enough to get you squared away. If not, it would be helpful to see a screenshot of what GParted is showing you.

#249 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 14:09:13

Boot from live disc then use GParted to resize your Miyo partition (make sure the partition isn't mounted). GParted will warn that resizing can cause the partition to become unbootable, but I've done this many times before without any issues.

#250 Re: Devuan Derivatives » Any Devuan-based distros that use Debian's original installer? » 2018-05-15 16:11:27

Thank you, KatolaZ. Very helpful information.

While on the topic, does anyone know of a list that shows which packages in Debian/Devuan's main repository a) would not pass a strict (FSF's) definition of free software or b) have a "more free" alternative available (such as linux vs. linux-libre)?

Such a list would be handy for users such as myself who wish to run Devuan (not a derivative) as a 100% free software system without any compromises.

Board footer

Forum Software