Beta tester/Bugs

Post your comments, questions, bug reports or suggest new features for alphaOS
MalwareMedic
Apprentice
Posts: 10
Joined: 21 Sep 2014, 23:20

Re: Beta tester/Bugs

Postby MalwareMedic » 02 Oct 2014, 11:46

I don't have windows on my computer as there is no need I have wine and can/have already installed certain windows things.

However I can install wine, but pacman -S jre doesn't work and makesb jre tells me there is a dependency needed (java-common) and when I try to install that it says it doesn't exist. Why can't java-common download?

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Beta tester/Bugs

Postby Scooby » 02 Oct 2014, 13:01

MalwareMedic wrote:I don't have windows on my computer as there is no need I have wine and can/have already installed certain windows things.

impressive :!:

MalwareMedic wrote:However I can install wine, but pacman -S jre doesn't work

No since jre is in AUR you have to use packer


MalwareMedic wrote:and makesb jre tells me there is a dependency needed (java-common) and when I try to install that it says it doesn't exist.
Why can't java-common download?


I ain't sure why but java-common is not present in ARM at the date aphaos uses
but in recent it is
https://www.archlinux.org/packages/extr ... va-common/

My suggestion would be to change ARM date and makesb java-common and then change back.

steps:

1. change ARM date in /etc/pacman.d/mirrorlist to recent date
2. issue pacman -Sy
3. check that it is there now pacman -Ss java-common
4. get it makesb java-common
5. rm db files in /var/lib/pacman/sync
5.5 change back to old date in /etc/pacman.d/mirrorlist
6. get old db's back issue pacman -Sy

I tried it and it seems to work

https://www.dropbox.com/s/r2afig5rjmyl8 ... on.sb?dl=0

trying to build jre....

Code: Select all

> makesb jre
==> Cleaning packages cache
==> Downloading jre

Aur Targets    (1): jre

Proceed with installation? [Y/n]
==> Making package: jre 8u20-2 (Thu Oct  2 13:50:43 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading jre-8u20-linux-x64.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 59.8M  100 59.8M    0     0  2744k      0  0:00:22  0:00:22 --:--:-- 2697k
  -> Found policytool-jre8.desktop
==> Validating source files with md5sums...
    jre-8u20-linux-x64.tar.gz ... Passed
    policytool-jre8.desktop ... Passed
==> Extracting sources...
  -> Extracting jre-8u20-linux-x64.tar.gz with bsdtar
==> Starting package()...
  -> Creating required dirs
  -> Preparing
  -> Removing redundancies
  -> Moving stuff in place
  -> Enabling copy+paste to unsigned applets
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "jre"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: jre 8u20-2 (Thu Oct  2 13:52:46 CEST 2014)
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): jre-8u20-2

Total Installed Size:   156.21 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                        [############################################################] 100%
(1/1) checking package integrity                                                                      [############################################################] 100%
(1/1) loading package files                                                                           [############################################################] 100%
(1/1) checking for file conflicts                                                                     [############################################################] 100%
(1/1) checking available disk space                                                                   [############################################################] 100%
(1/1) installing jre                                                                                  [############################################################] 100%
==> Updating desktop MIME database..
==> Updating MIME database..
==> Updating icon cache..
:: archlinux-java: JRE ('java-8-jre/jre') set as default Java environment.
Optional dependencies for jre
    alsa-lib: for basic sound support [installed]
    gtk2: for Gtk+ look and feel (desktop) [installed]
    ttf-font: fonts
checking dependencies...

Packages (1): jre-8u20-2

Total Removed Size:   156.21 MiB

:: Do you want to remove these packages? [Y/n]
(1/1) removing jre                                                                                    [############################################################] 100%
==> Updating desktop MIME database..
==> Updating MIME database..
==> Updating icon cache..
No valid Java environment found
:: archlinux-java: Java environment unset.
==> Packages moved to /tmp/modules/jre
==> Running script arch2sb jre
==> Extracting
  -> jre-8u20-2-x86_64.pkg.tar.xz

==> Creating bundle jre.sb
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on jre.sb, block size 524288.
[========================================================================================================================================================\] 555/555 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 524288
   compressed data, compressed metadata, compressed fragments, compressed xattrs
   duplicates are removed
Filesystem size 45660.09 Kbytes (44.59 Mbytes)
   28.54% of uncompressed filesystem size (159974.61 Kbytes)
Inode table size 4392 bytes (4.29 Kbytes)
   29.19% of uncompressed inode table size (15044 bytes)
Directory table size 4072 bytes (3.98 Kbytes)
   37.96% of uncompressed directory table size (10727 bytes)
Number of duplicate files found 40
Number of inodes 410
Number of files 275
Number of fragments 26
Number of symbolic links  26
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 109
Number of ids (unique uids + gids) 1
Number of uids 1
   root (0)
Number of gids 1
   root (0)

You are running without savefile, cannot find your alphaos/modules directory
Please enter path to your alphaos/modules
/modules

==> Do you want to load jre.sb? [Y/n] N


Seem to work!

jonas
Competent
Posts: 21
Joined: 19 Sep 2014, 11:46

Re: Beta tester/Bugs

Postby jonas » 02 Oct 2014, 14:43

Scooby wrote:No since jre is in AUR you have to use packer


There is jre7-openjdk in official repo (and jre8-openjdk if you use a later ARM date).

Scooby wrote:I ain't sure why but java-common is not present in ARM at the date aphaos uses
but in recent it is


Because the package didn't exist then. First version is from 2014-07-26:

https://projects.archlinux.org/svntogit/packages.git/log/trunk?h=packages/java-common

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Beta tester/Bugs

Postby Scooby » 02 Oct 2014, 18:01

jonas wrote:There is jre7-openjdk in official repo (and jre8-openjdk if you use a later ARM date).

Yeah I saw it but I thought he wanted oracle jre which is called "jre" in AUR

A good tip for Malwaremedic is to use the search functions

Code: Select all

pacman -Ss jre
packer -Ss jre
makesb -Ss jre



jonas wrote:Because the package didn't exist then.

Yehep and that is a problem with AUR not in ARM

MalwareMedic
Apprentice
Posts: 10
Joined: 21 Sep 2014, 23:20

Re: Beta tester/Bugs

Postby MalwareMedic » 03 Oct 2014, 00:14

Scooby wrote: My suggestion would be to change ARM date and makesb java-common and then change back.

steps:

1. change ARM date in /etc/pacman.d/mirrorlist to recent date
2. issue pacman -Sy
3. check that it is there now pacman -Ss java-common
4. get it makesb java-common
5. rm db files in /var/lib/pacman/sync
5.5 change back to old date in /etc/pacman.d/mirrorlist
6. get old db's back issue pacman -Sy


Why do I have to change back? WIll it have an error for other stuff if I don't?

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Beta tester/Bugs

Postby Scooby » 03 Oct 2014, 07:59

MalwareMedic wrote:Why do I have to change back? WIll it have an error for other stuff if I don't?


Maybe system goes unstable? Maybe you get dependency missmatches?

If you want to try that out maybe you should do a full system upgrade?
Beaware it could be big? If you run with savefile maybe you will run out of space?

Test and report your findings :D

MalwareMedic
Apprentice
Posts: 10
Joined: 21 Sep 2014, 23:20

Re: Beta tester/Bugs

Postby MalwareMedic » 03 Oct 2014, 12:31

I am still testing it,but I see 579MB of an upgrade which isn't all that bad (even if the os iso is 200MB and something) ;)

It didn't work pacman -Syu

Error:
And many more already "exists"
wxgtk2.8: /usr/share/locale/uk/LC_MESSAGES/wxstd28.mo exists in filesystem
wxgtk2.8: /usr/share/locale/zh_CN/LC_MESSAGES/wxstd28.mo exists in filesystem
wxgtk2.8: /usr/share/locale/zh_TW/LC_MESSAGES/wxstd28.mo exists in filesystem
Errors occurred, no packages were upgraded.

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Beta tester/Bugs

Postby Scooby » 03 Oct 2014, 12:49

MalwareMedic wrote:It didn't work pacman -Syu

Error:
And many more already "exists"

You could try

pacman -Sy
pacman -Suu --ignore filesystem


You could also try boot without bundles loaded ie "load=none" boot parameter

MalwareMedic
Apprentice
Posts: 10
Joined: 21 Sep 2014, 23:20

Re: Beta tester/Bugs

Postby MalwareMedic » 03 Oct 2014, 21:42

Still in error I guess that is why you don't change the date anyway how do you install java?
I know how to I have, but it failed when I loaded a java program so I switched and tried 2 different java versions spoiler: (It failed :!: ) anyway how can I make it work?

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Beta tester/Bugs

Postby Scooby » 04 Oct 2014, 10:43

MalwareMedic wrote:Still in error I guess that is why you don't change the date anyway how do you install java?
I know how to I have, but it failed when I loaded a java program so I switched and tried 2 different java versions spoiler: (It failed :!: ) anyway how can I make it work?


ain't sure, never tried it.

Exactly what java-program doesn't run so I can test

And what versions of jre did you try?

Check below first!
From arch wiki:

Note: After installation, the Java environment will need to be recognized by the shell ($PATH and $JAVA_HOME variables).
This can be done by sourcing /etc/profile from the command line or by logging out/in again of a Desktop Environment.

A common package named java-common automatically pulled as dependency provides environment file /etc/profile.d/jre.sh. This file contains all JVM common environment variables. Package java-common also provides a utility script archlinux-java that can display and change the default Java environment. This script sets links /usr/lib/jvm/default and /usr/lib/jvm/default-runtime to point at a valid non-conflicting Java environment installed and Java runtime in /var/lib/jvm/java-${JAVA_MAJOR_VERSION}-${VENDOR_NAME}. It also creates and updates links in /usr/bin for all executable provided by the Java environment set.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests

cron