fork download
  1. apt-get install openssl libssl-dev zlib1g zlib1g-dev
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. zlib1g is already the newest version (1:1.2.8.dfsg-2ubuntu4.1).
  6. openssl is already the newest version (1.0.2g-1ubuntu4.10).
  7. Some packages could not be installed. This may mean that you have
  8. requested an impossible situation or if you are using the unstable
  9. distribution that some required packages have not yet been created
  10. or been moved out of Incoming.
  11. The following information may help to resolve the situation:
  12.  
  13. The following packages have unmet dependencies:
  14. libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4) but 1.0.2g-1ubuntu4.10 is to be installed
  15. Recommends: libssl-doc but it is not going to be installed
  16. zlib1g-dev : Depends: zlib1g (= 1:1.2.8.dfsg-2ubuntu4) but 1:1.2.8.dfsg-2ubuntu4.1 is to be installed
  17. E: Unable to correct problems, you have held broken packages.
  18.  
Runtime error #stdin #stdout #stderr 0.04s 8468KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
./prog.sh: line 2: Reading: command not found
./prog.sh: line 3: Building: command not found
./prog.sh: line 4: Reading: command not found
./prog.sh: line 5: syntax error near unexpected token `('
./prog.sh: line 5: `zlib1g is already the newest version (1:1.2.8.dfsg-2ubuntu4.1).'